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

Conflict on port 35729 when 2 servers want to run with -dev #20

Open
Deleplace opened this issue Mar 18, 2019 · 1 comment
Open

Conflict on port 35729 when 2 servers want to run with -dev #20

Deleplace opened this issue Mar 18, 2019 · 1 comment

Comments

@Deleplace
Copy link
Collaborator

$ demoit -port 7000 -shellport 7001 -dev sample/
2019/03/18 14:07:06 Welcome to DemoIt. Please, open http://localhost:7000
2019/03/18 14:07:06 Permitting clients to write input to the PTY.
2019/03/18 14:07:06 HTTP server is listening at: http://:::7001/
2019/03/18 14:07:06 listen tcp :35729: bind: address already in use

It would be nice to switch automatically to another port, when 35729 is already in use. I don't know if it is feasible, or if 35729 is the only possible option, though.

@Deleplace
Copy link
Collaborator Author

See possible fix at Deleplace@adb7af1

Can be promoted to a PR, if for strategic reasons we decide to keep 3 distinct ports

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