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

Posted December 4, 2018 828 views
Ruby on RailsUbuntu

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

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
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