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

bind port failed, port 9000 is in used already #41

Open
openkoding opened this issue Aug 14, 2015 · 1 comment
Open

bind port failed, port 9000 is in used already #41

openkoding opened this issue Aug 14, 2015 · 1 comment

Comments

@openkoding
Copy link

bind port failed, port 9000 is in used already, where i can find the configuration of bind port?

@solarmicrobe
Copy link

The ./start script searches for a environment variable HANNIBAL_HTTP_PORT which defaults to 9000 when not found. You can either set it in your current session or .profile/.bashrc etc as:
export HANNIBAL_HTTP_PORT=9000

Or you can set it for just the start command:
HANNIBAL_HTTP_PORT=9000 ./start

I would put it into the .profile of whatever users is running this (assuming it gets a login shell).

As a side note, if you have lsof installed you can find out what is using port 9000 by running:
lsof | grep 9000.

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