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

address already in use #243

Closed
zhaohansprt opened this issue Jun 22, 2017 · 2 comments
Closed

address already in use #243

zhaohansprt opened this issue Jun 22, 2017 · 2 comments

Comments

@zhaohansprt
Copy link

zhaohansprt commented Jun 22, 2017

os: centos6 x64

weird thing !!!!
root@localhost etcdlabs]# netstat -ntlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:27017 0.0.0.0:* LISTEN 536/sshd
tcp 0 0 :::27017 :::* LISTEN 536/sshd

2017-06-22 02:57:20.580914 I | embed: listening for peers on http://localhost:2298
2017-06-22 02:57:20.581062 I | embed: listening for client requests on localhost:2297
2017-06-22 02:57:20.581105 I | embed: stopping listening for client requests on 127.0.0.1:2297
2017-06-22 02:57:20.581231 I | embed: listening for peers on http://localhost:2290
2017-06-22 02:57:20.581352 I | embed: listening for client requests on localhost:2289
2017-06-22 02:57:20.581406 I | embed: stopping listening for client requests on 127.0.0.1:2289
2017-06-22 02:57:20.581650 I | embed: listening for peers on http://localhost:2292
2017-06-22 02:57:20.581748 I | embed: listening for client requests on localhost:2291
2017-06-22 02:57:20.581784 I | embed: stopping listening for client requests on 127.0.0.1:2291
2017-06-22 02:57:20.581890 I | embed: listening for peers on http://localhost:2294
2017-06-22 02:57:20.583698 I | embed: listening for peers on http://localhost:2296
2017-06-22 02:57:20.590379 I | embed: listening for client requests on localhost:2295
2017-06-22 02:57:20.590458 I | embed: stopping listening for client requests on 127.0.0.1:2295
2017-06-22 02:57:20.590530 I | embed: listening for client requests on localhost:2293
2017-06-22 02:57:20.590554 I | embed: stopping listening for client requests on 127.0.0.1:2293
F0622 02:57:20.590584 6012 main.go:51] listen tcp 127.0.0.1:2297: bind: address already in use

@gyuho
Copy link
Contributor

gyuho commented Jun 23, 2017

Works for me? Seems like your local machine is already using 2297 port?

@zhaohansprt
Copy link
Author

zhaohansprt commented Jun 23, 2017

Yes ! i tryed on windows,locally not seen this error ,but for my vps the 2397, 2297 ,38897 (changed) both didn't work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants