Accessing a localhost website from other devices
Accessing a localhost website from other devices
(OP)
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 192.168.151.151 so from my cellphone I enter this URL: http://192.168.1.151/[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
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 192.168.151.151 so from my cellphone I enter this URL: http://192.168.1.151/[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
RE: Accessing a localhost website from other devices
Jerry
Jerry Scannell
RE: Accessing a localhost website from other devices
- 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 127.0.0.1 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.
Thanks,
Jerry
Jerry Scannell
RE: Accessing a localhost website from other devices
Jerry Scannell