I use the 200 OK Web Server extension for Chrome, which serves web pages from a local folder over the network, using HTTP. I can access the server normally from the browser of the computer that runs the server, but trying to access it from the browser (also Chrome) of a mobile device in the same network fails (I get a "can't connect" error).
Things I've already checked/tried:
- The option to allow access from the same network is checked
- Both devices are connected to the same network
- I've marked my network as "Private" (was public)
- I've made a firewall rule to allow the specific port
- I've made sure the router doesn't have client isolation on.
My question:
Having already tried the above, what other reason would there be for this to fail? Am I missing something?
52 Answers
Have you tried pinging the you host in any direction? From a computer can't you ping any of the devices?
Have you tried connecting Via IP or hostname? Always troubleshoot whilst connecting Via IP and not via hostname.
Is network isolation turned on on your router? On LAN you do not need any port forwarding rules, this is typically to provide external access to a network resource.
Does any other service work from your phone?
Also make sure data is turned off of your phone and purely wifi, it may use your data connection if there is any communication issue.
1Well, as is often the case, it was down to a very simple error related to lack of concentration.
Turns out, I had accidentally added the firewall rule to the outbound rather than the inbound set. Adding the rule (opening the port) to inbound worked like a charm.