Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question
Why don't you use Web Services then? –  Dave Jan 7 '13 at 11:20
I think you might need to use netcat to create a connection between two ports on strongy. for example http connection - use netcat to forward connections from port 80 to port 8090. –  mnmnc Jan 7 '13 at 11:20
What is a strong or weak computer? Does strong mean secure and weak mean non-secure? –  Dave Jan 7 '13 at 11:20
@DaveRook most probably the names resemble 'assumed security level' based on accessibility from the outside world. –  mnmnc Jan 7 '13 at 11:22
@DaveRook I use socket.io because I want fast full-duplex communication between the clients and my server. For example, when the client sends a service-request, I want the server to be able to send log messages while the request is processed. This is very easy with socket.io. Strong/weak refers to computational power. The strong computer does all the difficult computations. –  Erel Segal-Halevi Jan 7 '13 at 13:29

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.