cartpauj Posted May 29, 2008 Share Posted May 29, 2008 I recently decided to set up my own basic web server just to learn something new. I'm running Vista Home Premium and I went to Apache.org and D/L'd the latest version of Apache (Win32 Binary including OpenSSL 0.9.8g - MSI Installer). I installed it with administrative rights and rebooted my PC. I then tested http://localhost and everything worked just fine and dandy. But my ISP blocks port 80 so I attempted to edit my configuration file to listen to another port besides port 80 and then restarted the Apache server. And localhost no longer worked. I tried all sorts of different port numbers but no dice. I changed it back to 80 and it works just fine. Any ideas what could be causing the problem? Quote Link to comment https://forums.phpfreaks.com/topic/107842-localhost-quick-qestion/ Share on other sites More sharing options...
wildteen88 Posted May 29, 2008 Share Posted May 29, 2008 You must provide the port number after localhost, for exmaple if you changed Apache to listen to port 8080 you'll need to use http://localhost:8080 if you do not specify the port in the address then port 80 will be used. Quote Link to comment https://forums.phpfreaks.com/topic/107842-localhost-quick-qestion/#findComment-552838 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.