Mapped Network Drive 127.0.0.1 issue

I have mapped a number of drives locally to mimick the drives at work.
I have mapped the drive to \\127.0.0.1\<shared Folder>.

Recently these drives can't be found. I can ping 127.0.0.1 and get a reply. The folders share options haven't changed and i set a network drive via \\<ComputerName>\<shared Folder.

When i ping the computer name i get a MAC address, rather than an IP Address.

Not sure what is happening, but now my machine is slow to start up.
GegHAsked:
Who is Participating?
 
Kody-BurgCommented:
Try turning off IPv6 and so that you can only get an IPv4 IP address. I have seen this issue when a machine only gets an IPv6 address, but not an IPv4 address.

Here is a link to instructions on how to do this:

http://windows7themes.net/disable-ipv6-windows-7.html

Regards,

Kody
0
 
xylogCommented:
Check your hosts file. Are you sure you are getting your mac address and not an IPv6 address?
0
Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

 
Kody-BurgCommented:
@xylog:

That was the point of my post. I figured that it might be an IPv6 address, and since IPv6 is useless for most people, I just recommended that it be disabled.
0
 
xylogCommented:
Look at the times on our posts...
0
 
Kody-BurgCommented:
Gotta love simultaneous posts! :)
0
 
GegHAuthor Commented:
Thankyou guys, this worked to a point.
When i now ping my machine name i get the IP address on my home network, i.e. 192.168.XX.XX.
I can still ping 127.0.0.1

So when i create a network drive to \\<Computer Name>\Folder, it is actually going off to the network and mapping a drive, rather than looping through my network card, this i believe is what is slowing the start up.

I am working on a laptop so if i leave my network i will not get my drives, hence the need for it to loop through 127.0.0.1

Any ideas why it is no longer able to loop through my network card?
0
 
IanThCommented:
what happens if you ping localhost
0
 
GegHAuthor Commented:
I get a reply from 127.0.0.1
0
 
IanThCommented:
so what error do you get on the mapped drive if localhost and 127.0.0.1 are the same

Local host in ipv6 is not 127.0.0.1 its ::1 so if your machine was uing ipv6 pinging localhost would give you that ::1
0
 
GegHAuthor Commented:
I stopped IPv6 as per the above instructions.
Before i stopped IPv6 and since i get the same error essentially.
Before it was 'Network path not found'
Now it is Windows cannot access \\127.0.0.1\<Folder Name>. the details are Error Code 0x80070035, The network path was not found.
0
 
xylogCommented:
Try:

net view \\127.0.01

Does it list shares?

You can edit your hosts and lmhosts file so that your computername resolves to 127.0.0.1. Edit c:\windows\system32\drivers\etc\hosts and c:\windows\system32\drivers\etc\lmhosts (create one it if does not exist) by adding this line:

127.0.0.1     computername

That should force your computername to resolve to 127.0.0.1 both from ping (via hosts) and smb/cifs shares access (lmhosts).

0
 
GegHAuthor Commented:
Still no luck.
Ping -a 127.0.0.1 returns the name of the computer now, but i still can't connect a network drive to the 127.0.0.1 address, pinging the computer name still returns the IP address 192.xxx.xxx.xxx.

I also tried \\127.0.0.1\folder name through a web browser and it can't find the network address, \\localhost\<folder name> doesn't work either
0
 
xylogCommented:
What does the net view command return? Does it display the names of the shares?
0
 
GegHAuthor Commented:
Net view \\127.0.0.1 returns:
System error 53 has occurred
Network path was not found
0
 
GegHAuthor Commented:
Cheers. I'm away from my home network at the moment, using my mobile as a modem. With this i am on a public network and changed the network discovery to on. It works.
I will try the same when i am at home and make sure it is a prvate network with Network discovery on, Which it should be, i didn't change it.
The firewall could be the other setting to check when at home, but i think we've got to the bottom of it thanks to your directions, i was more worried that the card was stuffed, which i guess its not.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.