4

ok, this one is confusing me greatly!

If I add this to my apache conf:

ProxyRequests off

<Proxy *>
    Order deny,allow
    Allow from all
</Proxy>

<Location /node>
    ProxyPass http://localhost:3001/
    ProxyPassReverse http://localhost:3001/
</Location>

now, when I go to .../node, i see the following page:

"Welcome to socket.io."

But what I want to happen, is to see that page by typing in website:3001, but this just doesn't work. Why might this be?

Addiitional:

The server has a private IP, to which the router forwards IP traffic on ports 3000 and 3001. I can load the page using curl or wget using the private IP, but not the public IP. Any ideas why this might be?

4

0 回答 0