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

Port is taken, but it's not! #168

Open
lagden opened this issue Dec 16, 2024 · 0 comments
Open

Port is taken, but it's not! #168

lagden opened this issue Dec 16, 2024 · 0 comments

Comments

@lagden
Copy link

lagden commented Dec 16, 2024

sirv-cli: 3.0.0
image

Check port

❯ nc -zv localhost 1-5100 2>&1 | grep succeeded
Connection to localhost port 22 [tcp/ssh] succeeded!
Connection to localhost port 5000 [tcp/commplex-main] succeeded!

or

lsof -i -P -n | grep 5001

sirv-cli: 2.0.2
image

Check port

❯ lsof -i -P -n | grep 5001
node      13086 takamoto   18u  IPv4 0xb21424e14870c1f5      0t0  TCP 127.0.0.1:5001 (LISTEN)

The command is:

sirv dist --dev -eBcm 0 -H 127.0.0.1 --port 5001
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