Sockets / puma.sock failed (2: No such file or directory) when connecting to upstream

I am setting up a rails application using puma and nginx , but while working, I get the following exception:

 *9 connect() to unix:/home/nikhil/rorworkspace/DrinkApp/shared/sockets/puma.sock failed (2: No such file or directory) while connecting to upstream, client: 127.0.0.1, server: localhost, request: "GET /drinks HTTP/1.1", upstream: "http://unix:/home/nikhil/rorworkspace/DrinkApp/shared/sockets/puma.sock:/drinks", host: "localhost" 
+4
source share

All Articles