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

Socket Connection refused #7

Closed
yayaigo2010 opened this issue Dec 21, 2015 · 2 comments
Closed

Socket Connection refused #7

yayaigo2010 opened this issue Dec 21, 2015 · 2 comments

Comments

@yayaigo2010
Copy link

I create inbound rule Custom TCP rule port 10001 in aws

I create socket server connection by Php GatewayWorker, the port is 10001.

telnet public ip result is No route to host, how to fix it?

[centos@ip-private ip ~]$ telnet [private ip] 10001
Trying [private ip]...
Connected to [private ip].
Escape character is '^]'.

[centos@ip-private ip ~]$ telnet [public ip] 10001
Trying [public ip]...
telnet: connect to address [public ip]: No route to host

[centos@ip-private ip ~]$ telnet [public ip] 80
Trying [public ip] ...
Connected to [public ip] .
Escape character is '^]'.

@yayaigo2010
Copy link
Author

systemctl stop iptables.service

finally I execute ,it's working now

@walkor
Copy link
Owner

walkor commented Dec 21, 2015

👍

@walkor walkor closed this as completed Apr 21, 2016
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