Web port : 8080 vs 80

Answered

Possibly a very naive Q but a little push to get me on my way. I have created a vhost for my local site on port 8080. I created a PHP Web App server and marked it as port 8080 and then used that server in the web app profile. When I click debug it get "site not found"  @ http://mysite.com:8080/index.php?XDEBUG_SESSION_START=17062. If I revert both the apache2 VHOST entry AND the web app server to port 80 it works. I have run netstat and nothing appears to be using port 8080. So what gives?

 

Thanks and apologies if this is a facepalm moment.

0
2 comments

Hi there,

Not enough info (need your config)

But so far it could be:

1

That was all I needed. It was the Listen directive. That and I was getting a little mixed up between local PHP Web Server and Apache 2 config. It works now and interestingly (although NO idea why) now I have moved it to port 8080 a local copy of someones Symphony project now works whereas it didn't on port 80 on this same machine. 

 

Thank you for your polite and prompt response once again!

 

regards

 

r.

 

1

Please sign in to leave a comment.