Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Edwin

Pages: [1]
1
I am trying to make a forward to a nodejs back end server using CWP Pro. I can open the web page of that nodejs webserver using port 3000. When I make a port forwarding ( port 3000 ) in my router to the internal nodejs webserver ( 192.168.6.xx ), that web page is reachable from the internet using my public ip and port 3000.
When i try to set up CWP Pro as proxy but I can't find a setting that is working for me.
1. Webserver Settings - WebServers Domain Conf - nginx->proxy->(custom port): Nginx default vhost template type = default, Nginx default vhost template: nodejs-ssl; custom port: 3000; IP: 192.168.6.xx. This gives a Bad Gateway error.
2. Webserver Settings - WebServers Domain Conf - nginx->proxy->(custom port): Nginx default vhost template type = default, Nginx default vhost template: nodejs-ssl; Apache default vhost template type: proxy; Apache default vhost template: default; custom port: 3000; IP: 192.168.6.xx. This gives a Service Unavailable and sometimes the default Centos http test page.

Anyone here who knows what I am doing wrong?
Thanks in advance :)

Edwin




Pages: [1]