My ubuntu machine name is machine. I am able to do successfully ping machine, but when I do ping machine.local, it doesn't resolve machine.local and gives message
ping: machine.local: Name or service not known
How should I fix this?
Thnaks.
Configure and start MDNS service or add appropriate records to your DNS server or add an antry to your /etc/hosts file
Apart from what #mikhail-zakharov said, I found out that apparently, avahi service was down and I needed to restart. Article at smallbusiness.chron.com/resolving-local-ubuntu-38861.html and https://access.redhat.com/discussions/3258021.
Related
I have 2 aws ec2 instances and facing reach-ability issue from one instance to another. Have checked for SG, IGW, and it looks fine. Have also added subnet in /etc/hosts.allow to allow the hosts.
Can someone please suggest how to debug this reach-ability issue ?
I'm trying with
telnet <ip of other ec2 instance> <port>
from one ec2 instance to check if one instance is able to connect to open port where service is running of other instance.
Can capturing packet trace from source and destination will help? If yes, what will be the command for it ?
I have a bit of a bizarre problem. I have a Hyper-V VM and I cannot connect to it via IP address on the host computer.
I intend to use it as an SQL server to host a database for a website while I test it, and the first step I can see in this endeavour is to make sure the IP addresses work externally.
Other PCs on the LAN appear to be able to connect just fine via the IP address on Remote Desktop. I cannot do so. I also cannot connect through SQL Management Studio (named pipes or TCP/IP). Although named pipes gives an error relating to being denied access as opposed to IPs which are just not found.
I have tried pinging both ways:
VM => Host : Always gives a "Destination Host Unreachable" error
Host => VM: Always gives a "Request Timed Out" error
As for netstat -a -n, I can see that the VM is listening to 3389 (default Hyper V port, which makes sense).
Regarding Firewalls, all have been turned off on all machines. I can tell that the firewall is not the issue.
If you need any more information to help me to diagnose and treat the problem, please ask me as I would like to get this sorted as quickly as possible.
Thanks a lot in advance.
Which windows server version do you use?
Windows Server 2016 blocks insecure RDP connections (https://support.microsoft.com/en-us/help/4295591/credssp-encryption-oracle-remediation-error-when-to-rdp-to-azure-vm).
Since RDP uses CredSSP you have to install the current Windows Patches.
Do you can ping the DNS server by IP address from your VM?
Is ICMP (ICMP = the thing you need for ping) on your host enabled?
Here is a Checklist for ICMP:
https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc749323(v=ws.10)
Solved,
Just switched to another physical computer and it was fine.
I installed Mininet as per the instructions over here. After starting the mininet VM, when I try to ping google.com, it gives the error:
Could anyone please help me figure out the problem?
The problem seems to be happening because DNS server is not configured correctly on the mininet VM. Please check the DNS configuration on the mininet VM. Open the file /etc/resolv.conf and configure the DNS server IP address (nameserver ).
If ping to google.com still doesn't work, check the default gateway configuration on the VM using "route -n" command.
You need to add "--nat" when start topology with "sudo mn .."
I'm facing strange problem in Azure, I'm having 3 VMs (Domain Controller, Application server and Database Server). I've joined the 2 servers correctly to the domain Controller.
after a while i discovered that I'm not able to ping from one o the servers (DB Server) to the other servers. it reply Destination host unreachable and connection time out.
the other 2 servers are working fine between each other but not the third one.
to investigate I tried
1. Shutdown the firewall on the 3 machines. No luck
2. enable the ping rule in the firewall. No luck
3. I'm not able to telnet from this server to the RDP port to any of these servers, while I'm able to do so from the other 2 servers.
4. I tried nslookup command to see if I can communicate with the DNS Server or not. it fails with time out
Keeping in mind that
1. the 3 virtual machines are in the same virtual network and same sub-net.
2. I'v added the DNS server to the DNS Servers in the Azure Portal.
any help ?!
Sounds like perhaps the you have a machine that's no registered with the DNS server. You should be able to check this by doing an nslookup -all to get details on the machine's DNS settings. Make sure its resolving to the proper DNS machine.
It seems that the Public Endpoints are down in state so telnet and ping won’t work. you can try to recover this machine by following the steps in this blog post http://blogs.msdn.com/b/mast/archive/2014/11/20/recovering-azure-vm-by-attaching-os-disk-to-another-azure-vm.aspx
Hope that helps.
There is a website hosted on a server on our network, and I'm trying to find where exactly this has been installed.
Using the IP is there anyway that I can resolve this to a machine name on our network? I've tried pining the IP but don't get anything useful back.
This will return the machine/computer name:
PING -a xxx-xxx-xxx-xxx