0

Trying to setup a Django app using Gunicorn and Systemd while following this tutorial by DigitalOcean.

When I run curl --unix-socket /run/gunicorn.sock localhost, it returns with curl: (56) Recv failure: Connection reset by peer. I've followed the instructions to a T and even reset my VPS to make sure I didn't mess up the venv.

Anyone have any suggestions? All the other steps work fine, even connecting from the outside.

  • 1
    Do what the tutorial says to do if you have problems with this step. – Michael Hampton Jan 14 at 0:28
  • @MichaelHampton I've followed it to a T, as i said above – mystlegend Jan 14 at 1:47
  • You haven't done anything that you have actually said in your question! The tutorial shows several things you should do if curl returns an error. Have you done them yet? What was the result? – Michael Hampton Jan 14 at 3:06
  • @MichaelHampton I've just actually figured out why it didn't work. I forgot to change the paths and user to my own user. Thanks for a little slap, tore my hair out for a few minutes. – mystlegend Jan 14 at 3:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.