node.js - node server available at port 80, but specified 3000 (iptables) -


i have serious problem! have set first root server , have no experience server security. used run node apps on localhost have run app on server. node app works. have specified in index.js file server listens on port 3000. app loads without problem on port 3000 available @ port 80. wtf?

currently iptables file allows testing purposes. file looks this:

-a input -j accept -a forward -j accept -a output -j accept 

if makes difference or has issue...

what reason app listening on port 80?

ps: app available @ 80 , 3000, tested. im using express framework btw...

i found solution. feel stupid :) playing around iptables have no idea tool :-/ after blocking myself out 2 times, found out looking @ wrong file. there port redirect in nat table...

i couldnt see because looking @ wrong file

so nevermind :-) thank hint!


Comments

Popular posts from this blog

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -