Forem Creators and Builders 🌱

Discussion on: Connection refused

Collapse
 
sidthedev profile image
Siddharth Chaudhary

How would I go about doing that?

Collapse
 
akhil profile image
Akhil Naidu

sudo nano /etc/hosts

It will open a file. add this line to it; 127.0.0.1 rails

Thread Thread
 
sidthedev profile image
Siddharth Chaudhary

Doesn't seem to fix the issue. I did exactly as you said.

Thread Thread
 
akhil profile image
Akhil Naidu

Hey, as you said you are using digital ocean droplet, I can suggest you something, if you are willing to spare some time and energy.

Just purge your instance, create another one and follow this guide. I myself wrote it, and I always use this myself to host a development instance.