Access to my own webserver

P

Pelle

Hello all,

I have a webserver application that was not written by me, but it's
not a publicly available one. I have installed this application on a
server on port 8080. I can access the server on localhost:8080 as
expected.
When I try to access the server from a different machine, the request
fails.
I have checked DNS, firewall and other settings (ping,...) but I
didn't achieve any results.
I have installed tcptrace and rerouted localhost:8080 to localhost:
8181 and now I can access the server on 8181 without problems.
Which settings may prevent me from accessing the original web-server?

Any hints on this one greatly appreciated!

Regards,
Pelle.
 
G

Gerald Vogt

Pelle said:
I have a webserver application that was not written by me, but it's
not a publicly available one. I have installed this application on a
server on port 8080. I can access the server on localhost:8080 as
expected.
When I try to access the server from a different machine, the request
fails.
I have checked DNS, firewall and other settings (ping,...) but I
didn't achieve any results.

On which interfaces does the web server listen? What you describe sounds
to me as if the web server is only listening on localhost and thus only
responds on localhost and nowhere else. Check with "netstat -a" or
"netstat -a -n".

Gerald
 
P

Pelle

On which interfaces does the web server listen? What you describe sounds
to me as if the web server is only listening on localhost and thus only
responds on localhost and nowhere else. Check with "netstat -a" or
"netstat -a -n".

Gerald

Hello Gerald,

thanks for the hint, it seems you have struck the core of the problem.
Using netstat -a, I didn't see anything special, but using netstat -a -
n I saw that the regular services are listening on 0.0.0.0:xx, but my
webserver is indeed listening on 127.0.0.1 (localhost)!

Thank you very much.

Regards,
Pelle.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top