Using the following details:
tcp-port | 8009 (the default) |
webserver_port | 3000 (the default) |
Apache HTTP port | 80 (the default) |
WebSocket port | 8009 |
Amend the httpd.conf file as follows:
# HTTP <VirtualHost *:80> ProxyPreserveHost On ProxyPass / http://{Ip Address of the Gateway server}:3000/ ProxyPassReverse / http://{Ip Address of the Gateway server}:3000/ </VirtualHost> # WebSocket <VirtualHost *:8009> ProxyPreserveHost On ProxyPass / ws://{Ip Address of the Gateway server}:8009/ ProxyPassReverse / ws://{Ip Address of the Gateway server}:8009/ </VirtualHost>
The URL opened by the browser does not require a portgw parameter; its value defaults to tcp_port.