Connection Refused error is due to Nginx not started on port 80. In CWP by default, it will not generate the nginx virtual host configuration files. You need to manually add these files.
Create a file named xxxxx.conf in /etc/nginx/conf.d/ folder and update the following contents. Replace xxxxx with your Server IP address.
server {
listen xxxxx:80 default;
server_name _;
#access_log /var/log/nginx/xxxxx.log main;
location / {
proxy_pass http://xxxxx:8181;
}
}
Note : replace all instances xxxxx to your server ip address.