By leehanxue
I am running shadowsocks-go, and it works perfectly fine with the droplet’s own IPv4 address (e.g. 1.1.1.1). When I try to access the shadowsocks server using the floating IP address (e.g. 2.2.2.2), it fails with the following error
2018/05/11 06:48:37 error connecting to: localhost:9229 dial tcp 127.0.0.1:9229: connect: connection refused
2018/05/11 06:48:37 error connecting to: localhost:9229 dial tcp 127.0.0.1:9229: connect: connection refused
2018/05/11 06:48:38 error connecting to: localhost:9229 dial tcp 127.0.0.1:9229: connect: connection refused
2018/05/11 06:48:38 error connecting to: localhost:9229 dial tcp 127.0.0.1:9229: connect: connection refused
2018/05/11 06:48:39 error connecting to: localhost:9229 dial tcp 127.0.0.1:9229: connect: connection refused
2018/05/11 06:48:39 error connecting to: localhost:9229 dial tcp 127.0.0.1:9229: connect: connection refused
2018/05/11 06:48:40 error connecting to: localhost:9229 dial tcp 127.0.0.1:9229: connect: connection refused
2018/05/11 06:48:40 error connecting to: localhost:9229 dial tcp 127.0.0.1:9229: connect: connection refused
2018/05/11 06:48:41 error connecting to: localhost:9229 dial tcp 127.0.0.1:9229: connect: connection refused
2018/05/11 06:48:42 error connecting to: localhost:9229 dial tcp 127.0.0.1:9229: connect: connection refused
How can I use the Floating IP address correctly?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Do you have your daemon set up to listen on the anchor IP assigned internally on your droplet instead of the public Floating IP? Your droplet will never see an interface with the public floating IP as all traffic to this IP will be routed over the private network to your droplet.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.