my_project.sock some problem with that

Hi, i have made my website in flask and now i try to set this on a server on digitalocean.

I go through tutorial about it

and I think (I’m pretty sure) i redirect my domain correctly to DO servers but still it doesn’t work. As i go through an IP on webbrowser i got deafault nginx site but when i go through my domain it deosn’t go. I have found such error:

2019/12/03 11:21:35 [crit] 6414#6414: *10 connect() to unix:/home/bartek/config/website.sock failed (2: No such file or directory) while connecting to upstream, client:, server:, request: "GET / HTTP/1.1", upstream: "uwsgi://unix:/home/bartek/config/website.sock:", host: ""

but actually for me it doesn’t say much. Any help would be great!

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

My friend who helped me to settings thing right told me to make a config directory with config files. In my case .sock file was in the project directory instead in config directory so just copy paste fixed everything

Hi @bartoszkobylinski,

I can see that you’ve managed to get your website up and running which is great!

Would you mind sharing with the community what was the problem that you were facing and how did you fix it?

Thank you and regards, Bobby