Jump to content

Accessing local server using ip address!


Recommended Posts

few months back when I used a modem to acces internet, I had the access to my local server using the dynamic address assigned to my PC, but when I started using a router, I no longer have access to my local server, i only redirects me to the router's server

 

how can I fix this?

Link to comment
https://forums.phpfreaks.com/topic/261179-accessing-local-server-using-ip-address/
Share on other sites

From inside your network you should use your internal address. Or even better, the hostname of the computer.

 

Set up port forwarding on your router: have it forward port 80 to your computer. Note that you may need to give your computer a static address lest DHCP change it up and break the forwarding, but whether you need to do so depends on your router and what it lets you do.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.