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
Post a Comment