I have a computer at work that I can only connect to remotely when using the computer's IP address and not when using the computer's name.
I can see my computer name is set up correctly as "JoshPC" (for example), and there don't appear to be any conflicts with other PCs names.
What could be going wrong? I've flushed the DNS cache on the PCs attempting to remote in but no luck.
Edit:
- The PCs are on the same network as each other
- I've tried
ipconfig /registerdns
and received no errors (although not waited 15 mins yet) ping -a [IP]
gives the right name- I've tried using the fully qualified computer name
Best Answer
I hope you are connecting from a machine in the same network and both are Windows. From the machine where you are remoting to
JoshPC
, What doesping -a <IPofJoshPC>
give? Does it give a different computer name? If so then your DNS server is not updated with resource records ofJoshPC
. FromJoshPC
, tryipconfig /registerdns
. It will take 15 mins or so to register that computers resource records with DNS.Edit1: Saw you update. Interesting! After some waiting, if it still does not work, i suggest trying to access machine with FQDN if you have not tried it yet. I did not encounter this error inside office, but when i used VPN from home, i usually get this errors. Just giving computer name will not connect, but giving the Full-Qualified name will connect.
Edit2: If the above fails, try using nslookup for
JoshPC
and compare the IPs you get. If these are different, then your DNS is definitely not updated. Try contacting administrator or flushing and registering with DNS.