Accessing a web server in Win2003Std

b4u

Golden Member
Nov 8, 2002
1,380
2
81
Hi,

I'm trying to open a small web page to the outside, but I'm having some difficulties in doing it.

My Setup:

Windows 2003 Standard SP2
IP: 192.168.1.50 (fixed)
JBoss AS listening on port 8080, all default

Windows XP Pro SP3
IP: 192.168.1.150

I have this small network behind a router. I've configured my router to pass all incoming port 8080 to the 192.168.1.50 machine (server), for testing up (it will be changed to port 80).

So locally on the server, http://localhost:8080 or http://127.0.0.1:8080 will give me the JBoss start page. But trying with http://192.168.1.50:8080 will not show me anything.

If my public (internet) IP is 100.180.120.30, accessing with http://100.180.120.30:8080 will give me an "Unable to connect" web page.

I assume the router is working fine, and the public IP is correct, because I can Remote Desktop into the server machine.

Then I tried to access from the Windows XP workstation, but entering http://192.168.1.50:8080 gave me the same "Unable to connect" web page. But I can ping the machine correctly, so IP is fine. Telnet to server port 8080 also fails.

So I can only access the JBoss web pages from the server machine itself.

I have a plain out-of-the-box Windows 2003 Standard installation. No AD, no DHCP, no DNS, nothing. Also, the windows firewall service is disabled. This really is a fresh, untouched from-scratch installation.

So what am I missing?

Do I need to enable firewall and workout an incoming connection config?

Thanks
 
Last edited:

b4u

Golden Member
Nov 8, 2002
1,380
2
81
Finally I got it to work!

I put my brain to work, and tracked down the problem to JBoss config.

It happens that the JBoss was listening on the local address only. I had to start JBoss with "-b 0.0.0.0" arguments so that it listens in all interfaces.

There! It was simple, and I was looking for a harder solution ... it was 3am in the morning ... maybe that was the problem :)


Thanks.