apache - getting node.js app to work on port 3001 -


ok, 1 confusing me greatly!

if add apache conf:

proxyrequests off  <proxy *>     order deny,allow     allow </proxy>  <location /node>     proxypass http://localhost:3001/     proxypassreverse http://localhost:3001/ </location> 

now, when go .../node, see following page:

"welcome socket.io."

but want happen, see page typing in website:3001, doesn't work. why might be?

addiitional:

the server has private ip, router forwards ip traffic on ports 3000 , 3001. can load page using curl or wget using private ip, not public ip. ideas why might be?


Comments

Popular posts from this blog

python - Received unregistered task using Celery with Django -

c# - Delving into the world of XML (Windows Phone) Error I dont understand (The ' ' character, hexadecimal value 0x20, cannot be included in a name.) -

Line ending issue with Mercurial or Visual Studio -