I didnt run 7777 port on my ubuntu server with ruby on rails app

December 4, 2018 402 views
Ruby on Rails Ubuntu

i run rails s -p 7777 command but my ip close this port

1 Answer


Maybe you activated the firewall on your droplet make sure it is disabled with sudo ufw status

If it is enabled just allow connections to port 7777 using sudo ufw allow 7777

If you are using firewall service from DO make sure you added a rule to allow incoming traffic to port 7777.

I hope this helps

Have another answer? Share your knowledge.