LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-23-2004, 12:40 PM   #1
Ibrahim
LQ Newbie
 
Registered: Sep 2003
Posts: 10

Rep: Reputation: 0
Angry can not browse tomcat webserver on linux from windows


Hi,
I have redhat linux 9.0 on P4 machine. also I have windows XP on the same machine.

I am connected to internet through DSL router with static IP. I can ping my external IP address from linux, but I am not able to do it on windows through dos command window.

On linux, I installed tomcat 5, and I configured it to start my web application. I run tomcat as a standalone, no apache is runing

when I try to open my application from other linux machine using mozila browser, through the internet by typing:http://my_static_ip_address:8080/myapp

It works fine, and I can access my website.


If I try to do the same thing from any windows box it fails to load my application. even if I try to load the tomcat webpage by doing http://my_static_ip_address:8080, it fails. the browser will show a portion of it, only the tomcat logo.

I tried to use netscap 7 and IE 5, both fails to load my website page.

any help.

Last edited by Ibrahim; 03-23-2004 at 12:43 PM.
 
Old 03-23-2004, 12:49 PM   #2
jsokko
Member
 
Registered: Mar 2004
Location: Phila, PA
Distribution: SuSE 9.0 / RH 9 / Slackware 9.1
Posts: 110

Rep: Reputation: 15
This is a networking issue.
1. Make sure your DNS is configured properly.
2. check your local hosts file.
3. check your DNS server settings if you're running a local DNS service.
4. check your firewall settings. make sure http is open for 8080 or whichever port you are using.
5. make sure your gateway/router is configured to your machine's internal IP.


I hope that helps.


J
 
Old 03-23-2004, 03:11 PM   #3
Ibrahim
LQ Newbie
 
Registered: Sep 2003
Posts: 10

Original Poster
Rep: Reputation: 0
do you think it is a network problem? even if I am able to browse my website through different linux machine, and this machine is not part of my LAN, it connects to my server through the internet. The problem happens only if I try to visit my website from machine that has Windows OS.

about your comments:

1. Make sure your DNS is configured properly.
in the router configuration, I choose to use the ISP DNS servers, I provided two IP addresses. should I do any thing more to check the configuration?

2. check your local hosts file.
I am not sure how can I do it? and what should I look for?

3. check your DNS server settings if you're running a local DNS service.
I do not have any local DNS service

4. check your firewall settings. make sure http is open for 8080 or whichever port you are using.
In the router configuration I mapped external IP:80 to 192.168.1.100:8080 and I enable it.

5. make sure your gateway/router is configured to your machine's internal IP.
yes, it is, actually I have only one machine connected to this gateway;
and this gateway connected to the internet via DSL modem.

Thank you very much.

Ibrahim
 
Old 04-06-2004, 12:38 PM   #4
Ibrahim
LQ Newbie
 
Registered: Sep 2003
Posts: 10

Original Poster
Rep: Reputation: 0
well, here is some update, maybe someone will be able to help me.

I did the following test:

1- I created a simple html page that conatins "Hello world" text only. and I started the tomcat server on my linux box.

2- from a windows box, this I started IE 5.0 then

I typed: http://my_static_ip_address:8080/dir/test.html

result: the page is opend, and I can see the "Hello world"


3- I added a small JIF image, 1K bytes, to test.html, and I tried again
result: I am still able to open the page.


4- I added a big JIF image, 7K bytes, to test.html, and I tried again
RESULT: I can not open the page.

on ethereal, on the server side,I saw that, the client is trying load the page forever, and the server returns 200 OK, reassembled packets.
----------------------------

now, I am sure it is not a router problem, because I am already able to connect to my webserver. I think, it is problem in my IP/TCP configuration.

I still do not understand why I can visit my website from any other linux box.

any help

Last edited by Ibrahim; 04-06-2004 at 12:41 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to browse your home webserver securely from work disorderly Linux - Networking 2 10-23-2005 09:51 PM
can't browse my webserver from internal network enzolabrador Linux - Networking 8 08-30-2004 01:27 PM
can not browse tomcat webserver on linux from windows Ibrahim Linux - Networking 0 03-24-2004 11:32 AM
How to browse Windows machines from Linux Fred Affe Linux - Networking 13 02-05-2004 02:39 PM
How to install Tomcat as a webserver davee Linux - Software 6 07-16-2003 04:32 AM


All times are GMT -5. The time now is 08:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration