Share via


Can't access localhost over local network

Question

Saturday, April 29, 2017 5:22 PM

I'm trying to connect to the localhost on my laptop from my desktop.

Both computers are running Windows 10 Pro.
I have the IP of the laptop and I can RDP into it, and I was able to create a working tunnel with <g class="gr_ gr_16 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id="16" id="16">ngrok</g> but when I try to load a page in browser from the desktop I get "ERR_EMPTY_RESPONSE"

I don't think it's a firewall issue because I've tried completely disabling Windows Firewall and that didn't help. I'm not running any anti-virus software beyond Windows Defender.

In summary, localhost:64750 works on the laptop itself, but I can't access it as expected using 192.168.0.2:64750 from a secondary computer.

All replies (4)

Saturday, April 29, 2017 8:58 PM

Well looking at ngrok site it appears that is for web access via there website using a TLS connection? So once passed there server it would not be able to find a 192 private address?

Post this question to ngrok or have a look at there docs perhaps.


Saturday, April 29, 2017 9:58 PM

Thank you,

But your response didn't address my question, I'm not having an issue with ngrok, my issue is with not being able to connect without the use of ngrok.


Saturday, April 29, 2017 11:35 PM

Ok, thanks.

Can you put what the command \ program you are trying to connect to 192.168.0.2:64750 is?

To me it is maybe denying the accesing to that port as the access request is not secure or not supported


Monday, May 1, 2017 6:49 AM | 1 vote

Hi drmartell,

"but I can't access it as expected using 192.168.0.2:64750 from a secondary computer."
Is it available to ping "192.168.0.2"? Are you using Internet Explorer to access the site?

If you are using a web browser to access the site, try another web browser.

Try to ping that site. If it is available to ping that site, use the "Portquery" tool to check whether the port is available.
PortQryUI - User Interface for the PortQry Command Line Port Scanner
https://www.microsoft.com/en-sg/download/details.aspx?id=24009

Try the following command line to reset the TCP/IP stack.
ipconfig /flushdns (Clear the dns cache)
nbtstat -RR (release and refesh NetBIOS names)
netsh int ip reset (reset ip settings)
netsh winsock reset (Reset Winsock Catalog)
Reboot

Best regards

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].