Solved

Mapped Network Drive 127.0.0.1 issue

Posted on 2011-03-15
16
1,104 Views
Last Modified: 2012-08-13
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.
0
Comment
Question by:GegH
  • 6
  • 4
  • 3
  • +1
16 Comments
 
LVL 6

Expert Comment

by:Kody-Burg
Comment Utility
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
 
LVL 5

Expert Comment

by:xylog
Comment Utility
Check your hosts file. Are you sure you are getting your mac address and not an IPv6 address?
0
 
LVL 6

Expert Comment

by:Kody-Burg
Comment Utility
@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
 
LVL 5

Expert Comment

by:xylog
Comment Utility
Look at the times on our posts...
0
 
LVL 6

Expert Comment

by:Kody-Burg
Comment Utility
Gotta love simultaneous posts! :)
0
 

Author Comment

by:GegH
Comment Utility
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
 
LVL 30

Expert Comment

by:IanTh
Comment Utility
what happens if you ping localhost
0
 

Author Comment

by:GegH
Comment Utility
I get a reply from 127.0.0.1
0
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
LVL 30

Expert Comment

by:IanTh
Comment Utility
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
 

Author Comment

by:GegH
Comment Utility
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
 
LVL 5

Expert Comment

by:xylog
Comment Utility
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
 

Author Comment

by:GegH
Comment Utility
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
 
LVL 5

Expert Comment

by:xylog
Comment Utility
What does the net view command return? Does it display the names of the shares?
0
 

Author Comment

by:GegH
Comment Utility
Net view \\127.0.0.1 returns:
System error 53 has occurred
Network path was not found
0
 
LVL 30

Accepted Solution

by:
IanTh earned 500 total points
Comment Utility
0
 

Author Closing Comment

by:GegH
Comment Utility
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

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Let’s list some of the technologies that enable smooth teleworking. 
OfficeMate Freezes on login or does not load after login credentials are input.
This Micro Tutorial will teach you the basics of configuring your computer to improve its speed. It will also teach you how to disable programs that are running in the background simultaneously. This will be demonstrated using Windows 7 operating…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now