I have a computer with a strong CPU and a lot of memory (strongy) running Windows Server 2008 R2, that is blocked by a firewall from any access from the outside world.
I have a computer with a weak CPU and little memory (weaky) running Windows Server 2003, that has port 80 open to the outside world.
I want to put a Java server on strongy, that will connect with the outside world via websockets. I use socket.io implementation based on Netty: https://github.com/mrniko/netty-socketio . It listens on strongy:8090. There is also an Apache server on strongy that serves the static content.
Now, I know how to route http requests from weaky to strongy - I just put these two lines in httpd.conf on weaky:
ProxyPass /myapp http://strongy/myapp ProxyPassReverse /myapp http://strongy/myapp
However, this doesn't help with the socket.io requests...
I don't need secure connection, load balancing or any other fancy stuff - just route the requests back and forth.