stlaural Posted June 5, 2008 Share Posted June 5, 2008 Hi all, I'm not totally sure that this is the right place to ask this question but I'm pretty sure that someone will have the answer. Here's the problem, I'm running Apache server on my computer and it is not always on the same port. I have an application that starts Apache and then opens the web page. Ex : http://127.0.0.1:1131/index.php Sometimes I get the error : " Unable to connect Firefox can't establish a connection to the server at 127.0.0.1:1131..." ??? So the question is simple : Can a local port (its only local, it doesn't need internet) be close ? and if yes how do I know and how do I open it ? thanks. Alex Quote Link to comment https://forums.phpfreaks.com/topic/108818-cant-connect-to-a-local-port-why/ Share on other sites More sharing options...
wildteen88 Posted June 5, 2008 Share Posted June 5, 2008 In order for that address to work Apache will have to be listening on port 1131 Also Ensure your firewall is not blocking internal connections to port 1131 too. Quote Link to comment https://forums.phpfreaks.com/topic/108818-cant-connect-to-a-local-port-why/#findComment-558475 Share on other sites More sharing options...
stlaural Posted June 9, 2008 Author Share Posted June 9, 2008 Thanks for your answer, I already know that apache is listening on the specified port number, so I'll have a look at the firewall settings. thanks again. Alex Quote Link to comment https://forums.phpfreaks.com/topic/108818-cant-connect-to-a-local-port-why/#findComment-561185 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.