Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check if port 54007 is free before running web-server #9

Closed
GoogleCodeExporter opened this issue Aug 28, 2015 · 13 comments
Closed

Check if port 54007 is free before running web-server #9

GoogleCodeExporter opened this issue Aug 28, 2015 · 13 comments

Comments

@GoogleCodeExporter
Copy link

The default port for running php web-server is 54007, but
this port might already be occupied by another application
or by our application when running multiple instances. 
Therefore we should check if this port is free and if not
then generate a random port in the range 49152–65535, try
drawing for at least 100 tries until you find a free port.

How to check if port is free? Need to google it.

Original issue reported on code.google.com by [email protected] on 13 Jan 2013 at 5:13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant