(13: Permission denied) while connecting to upstream:[nginx]

*130649 connect() to 127.0.0.1:3333 failed (13: Permission denied) while connecting to upstream, client: ...

How to fix:

This should solve the problem:

sudo setsebool -P httpd_can_network_connect 1