xfezz Posted September 30, 2011 Share Posted September 30, 2011 I have a windows based system with apache / mysql / php installed. The problem is the IP of this machine changes depending on which computers are connected to my network and doesn't always get assigned the IP I given it in httpd.conf As of right now in httpd.conf I have the following: Listen 192.168.0.192:80 Is there anything I need to do with my routers configuration as well? I have a D-Link DGL-4100. Link to comment https://forums.phpfreaks.com/topic/248201-assign-local-ip-to-apache/ Share on other sites More sharing options...
requinix Posted September 30, 2011 Share Posted September 30, 2011 You don't have to specify an IP address... Link to comment https://forums.phpfreaks.com/topic/248201-assign-local-ip-to-apache/#findComment-1274516 Share on other sites More sharing options...
premiso Posted September 30, 2011 Share Posted September 30, 2011 You should be able to assign a static IP with the router, if you have control. However: Listen *:80 Will work just fine. Link to comment https://forums.phpfreaks.com/topic/248201-assign-local-ip-to-apache/#findComment-1274518 Share on other sites More sharing options...
xfezz Posted September 30, 2011 Author Share Posted September 30, 2011 I ended up figuring out how to set a static IP with my router. Thanks for the help. Link to comment https://forums.phpfreaks.com/topic/248201-assign-local-ip-to-apache/#findComment-1274529 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.