Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 can we access the site hosted on same wifi

views
     
TSGrammar Police
post Mar 27 2021, 10:58 PM, updated 5y ago

Casual
***
Junior Member
344 posts

Joined: Mar 2016
I read on internet that if i turn my pc or mobile into a web server , such as xampp , laragon or kwp

if i have another device connected to the same wifi, it should also be able to connect to that site

however i tried using pc AND android mobile to host a site and both device cant connect to each others server on the same wifi

i troubleshoot by checking ip, nothing wrong with the ip and port i used

also turned off the firewall and created inbound rule, didnt work, still cant access

am i doing anything wrong or the article i read is bullshitting?
TSGrammar Police
post Mar 28 2021, 08:17 PM

Casual
***
Junior Member
344 posts

Joined: Mar 2016
QUOTE(Eventless @ Mar 28 2021, 08:10 PM)
Are you trying to access the webserver internally or externally?
Internally means using a your lan/wifi without going through the internet using a private ip address range. Externally means using your public ip address or DNS name to connect to your webserver.

If internally you should be able to access the webserver using its internal ip address(192.168.x.x, 10.x.x.x). No changes required at the firewall at the router. Just need the necessary inbound rules at the web server.

If both of your devices is using wifi to connect to each other, it is possible that you wifi access point is configured to block wifi to wifi communication. If you can't ping each other, it is possible that it is blocked either by the access point or the firewall within the devices.

For connecting from the outside, you will to do some port forwarding on your router. Best to test using a different internet connection since not all routers allow traffic from the same internal network to come back in via port forwarding. It may work with newer routers so results may vary.

Also if your ISP doesn't provide you with a public IP address, you won't be able connect to your webserver from the internet.
*
internally. i saw the ip is 192.168.1.34 on ipconfig in cmd


 

Change to:
| Lo-Fi Version
0.0118sec    0.37    6 queries    GZIP Disabled
Time is now: 25th November 2025 - 01:45 AM