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

--listen-address flag doesn't work from CLI #21

Closed
volkanunsal opened this issue Sep 25, 2019 · 0 comments
Closed

--listen-address flag doesn't work from CLI #21

volkanunsal opened this issue Sep 25, 2019 · 0 comments
Assignees
Labels

Comments

@volkanunsal
Copy link

Expected this to work:

martin --listen_addresses="0.0.0.0:3001" postgres://postgres@localhost:5433/db

But I get this instead:

 INFO 2019-09-25T11:52:56Z: martin: Starting martin v0.2.0
 INFO 2019-09-25T11:52:56Z: martin: Connecting to postgres://postgres@localhost:5433/db
 INFO 2019-09-25T11:52:57Z: martin: Connected to postgres: postgres://postgres@localhost:5433/db
 INFO 2019-09-25T11:52:57Z: martin::table_source: public.points table found
 INFO 2019-09-25T11:52:57Z: martin: Martin has been started on 0.0.0.0:3000.
thread 'main' panicked at 'Can't bind to 0.0.0.0:3000: Os { code: 48, kind: AddrInUse, message: "Address already in use" }', libcore/result.rs:1009:5
note: Run with `RUST_BACKTRACE=1` for a backtrace.
@volkanunsal volkanunsal changed the title Listen address doesn't work from CLI --listen-address flag doesn't work from CLI Sep 25, 2019
@stepankuzmin stepankuzmin self-assigned this Sep 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants