yami007 Posted April 18, 2012 Share Posted April 18, 2012 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? Quote Link to comment https://forums.phpfreaks.com/topic/261179-accessing-local-server-using-ip-address/ Share on other sites More sharing options...
requinix Posted April 18, 2012 Share Posted April 18, 2012 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. Quote Link to comment https://forums.phpfreaks.com/topic/261179-accessing-local-server-using-ip-address/#findComment-1338509 Share on other sites More sharing options...
yami007 Posted April 18, 2012 Author Share Posted April 18, 2012 Thanks for your reply, requinix, I did assign a static ip to my computer.. Please tell me how to let the router forward to my server using the ports ? Quote Link to comment https://forums.phpfreaks.com/topic/261179-accessing-local-server-using-ip-address/#findComment-1338514 Share on other sites More sharing options...
yami007 Posted April 18, 2012 Author Share Posted April 18, 2012 I got it ! I can now access my server using the external ip address. Thank you! Quote Link to comment https://forums.phpfreaks.com/topic/261179-accessing-local-server-using-ip-address/#findComment-1338566 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.