Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Accessing a localhost website from other devices

Accessing a localhost website from other devices

Accessing a localhost website from other devices

This seems to be an IIS on Windows 10 problem because everything works fine on my Windows 7 platform.

I have IIS configured for a localhost website. I wish to be able to connect to it from my Android phone. On my Windows 7 machine, I ran ipconfig and located the ipv4 value and it is so from my cellphone I enter this URL:[sitename] and I am able to run my website.

Conversely, I ran ipconfig from my Windows 10 laptop, located the ipv4 value, and tried running that from my cellphone from my desktop computer but it doesn't work. It justs times out. I tried connecting via my from my desktop computer but it doesn't work from their either.

There must be something that I need to do in IIS (or perhaps McAfee???) on my laptop, but I don't know what.

Anyone have any suggestions?

Thanks in advance,
Jerry Scannell

Jerry Scannell

RE: Accessing a localhost website from other devices

IIS needs to be configured to listen at the IP4 IP address, not "localhost". Localhost means and that only listens for connections from on that machine, not outside.

RE: Accessing a localhost website from other devices

How do you tell IIS where to listen to the IP4 IP address?


Jerry Scannell

RE: Accessing a localhost website from other devices

I looked up how to do what you suggested. That didn't work at all. Since you didn't say how to change IIS to listen to the IP4 IP address, I assumed you wanted me to do the following:
- Run the command prompt (has to be run as administrator)
- Execute: netsh
- From the netsh> prompt, type: http
- Then type: show iplisten
- Nothing displayed which means that a particular IP address isn't being looked at, so the default of would be used
- Type in: add iplisten ipaddress=192.xxx.x.xxx (whatever my IP4 IP address is which I determined by running ipconfig on my laptop)
- Restart IIS

That is supposed to make it so I can connect to my local website from anywhere in my local environment. It doesn't work, unfortunately.

SAo, is there an IIS setting that I also need to modify?

I have to remind everyone, that I don't have a problem connecting to my Windows 7 PC's localhost. Only the one on my Windows 10 laptop. I never had to do anyt change to listening ip addresses on my Windows 7 PC.


Jerry Scannell

RE: Accessing a localhost website from other devices

I figured it out! It turns out it was a port setting in McAfee. It wasn't a problem with my Windows 7 computer because McAfee doesn't care about the ports in that environment mentioned. I had to open up port 80 and 443.

Jerry Scannell

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close