By davidhq
I’m running something on port 9292:
david@theta:~$ lsof -ni tcp:9292
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
ruby 2406 david 13u IPv4 1579461398 0t0 TCP 127.0.0.1:9292 (LISTEN)
david@theta:~$ telnet localhost 9292
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
The problem is that from elsewhere I cannot react it:
david@eclipse:~$ telnet 188.226.243.223 9292
Trying 188.226.243.223...
telnet: connect to address 188.226.243.223: Connection refused
Port 80 works:
david@eclipse:~$ telnet 188.226.243.223 80
Trying 188.226.243.223...
Connected to 188.226.243.223.
Escape character is '^]'.
I’m not using any firewalls.
What else can I try?
Thank you, David
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!
How can I make it listen to outside connections as well?
I’m using Faye:
faye_server = Faye::RackAdapter.new(mount: '/faye', timeout: 45)
but I haven’t changed anything … before it worked… not sure if there is a special option to bind it ‘globally’… are you sure that lsof says it can be used exclusivelly on localhost?
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.