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

--server.admin-port and --server.http-port issues #33

Closed
jsteemann opened this issue Mar 21, 2012 · 1 comment
Closed

--server.admin-port and --server.http-port issues #33

jsteemann opened this issue Mar 21, 2012 · 1 comment

Comments

@jsteemann
Copy link
Contributor

The server has an option --server.admin-port.
If no value is set for this, a default value is used.
There currently is no way to turn off the admin port completely. There is also no way to use the same port for --server.http-port and --server.admin-port. If the following startup option is used, the server will try to bind to the same port twice:

$ ./avocado --server.http-port 9000 --server.admin-port 9000
2012-03-21T16:13:41Z [26997] ERROR bind failed with 98 (Address already in use)
2012-03-21T16:13:41Z [26997] INFO bind to address '::' port '9000'
2012-03-21T16:13:41Z [26997] ERROR bind failed with 98 (Address already in use)
2012-03-21T16:13:42Z [26997] INFO bind to address '0.0.0.0' port '9000'
2012-03-21T16:13:42Z [26997] ERROR bind failed with 98 (Address already in use)
2012-03-21T16:13:42Z [26997] INFO bind to address '::' port '9000'
...

Furthermore, if only a port number is specified for --server.http-port, then the server will issue an error on startup:

$ ./avocado --server.http-port 9000
2012-03-21T16:21:08Z [27173] ERROR bind failed with 98 (Address already in use)

The second bind does fail, but the server still starts.

@fceller
Copy link
Contributor

fceller commented Apr 10, 2012

added shared client / admin port. If "admin-port" is admin, http-port will be client and admin

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

2 participants