wood burning stoves 2.0*
The moose likes Tomcat and the fly likes Tomcat 6.0 reachable in Firefox, not in IE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat 6.0 reachable in Firefox, not in IE" Watch "Tomcat 6.0 reachable in Firefox, not in IE" New topic
Author

Tomcat 6.0 reachable in Firefox, not in IE

Yavor lvanov
Greenhorn

Joined: Mar 15, 2007
Posts: 14
Hi,

My problem is the following:

I have my Tomcat running on 8080 and I can open it locally in both Firefox and IE.

However, when I try to access it through its public static IP address I never get a response from the server. I was told by my ISP's technical support that when I try to access a server from a client using one broadband connection by calling the server's public IP address, the server will not reply, which I refuse to accpet and understand.

And yet, when I access it from another broadband connection I have access to Tomcat via Firefox, but not IE.

Does anyone have any suggestion on how to fix this weird behavour?

Thanks a lot!
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14074
    
  16

Are you behind a proxy server? Do you have the proxy or other networking settings set differently in IE and FF? Are there, besides your Tomcat server, other websites that you can see in IE but not in FF?


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
Yavor lvanov
Greenhorn

Joined: Mar 15, 2007
Posts: 14
I am not behind a proxy server as far as I am aware. And yet I haven't messed with the proxy settings in IE and Firefox since I installed them. I haven't come accros any websites that I can open in one of them only as well.

I have also noticed that everytime I try to check my mailbox on my email server from home (the server itself is in my home network), the email client I am using (Outlook Express) always fails to establish a communication with the server.

Basically, I reached the conclusion that everytime when I attempt to access a resource residing on a server within my home network by calling it with its public static IP, my servers never response. Any thoughts on that?

Thank you!
Craig Jackson
Ranch Hand

Joined: Mar 19, 2002
Posts: 405
I have a couple of questions.

Are you running the server(s) through your ISP?

When you state:
And yet, when I access it from another broadband connection I have access to Tomcat via Firefox, but not IE.


Is the other broadband connection part of your home network?

Have you configured your network settings to allow requests through port 80 to your home network?
Tim McGuire
Ranch Hand

Joined: Apr 30, 2003
Posts: 820

We faced this issue recently. Our certificate expired on the server and Firefox didn't care but IE did. Very confusing. So, people could access the app through Firefox but not IE.
Yavor lvanov
Greenhorn

Joined: Mar 15, 2007
Posts: 14
Are we both talking about Tomcat?! As far as I am aware it doesn't require any certificates.
Yavor lvanov
Greenhorn

Joined: Mar 15, 2007
Posts: 14
As of the previous post, not sure what you mean by the first question.

My server is sitting at home and the connection it is using is my ISP's.

The other broadband connection is not part of my home network. I just checked from my work, and I couldnt access the server in IE.

Yep, I've opened port 80 and directed the traffic to my webserver, however, as it is running on port 8090, that was more of a desperate attempt to change things.
Craig Jackson
Ranch Hand

Joined: Mar 19, 2002
Posts: 405
That is very unnusual that you would be able to access your website thru the public ip address from firefox and not IE.

One possible suggestion is that the browser and tomcat are not talking to each other properly.

I would look at the request headers between Tomcat and IE.

See if there is any difference in the request headers generated by Firefox.
Yavor lvanov
Greenhorn

Joined: Mar 15, 2007
Posts: 14
OK! Get ready for a complete turnaround!

I've just tested accessing two Tomcat 6.0 webservers on my home network from another broadband connection by calling them through their public ip addresses. They are running on ports 8080 and 8090 respectively.

1. The one operating on 8080 can be accessed from both Firefox and IE.

2. The one on 8090 is not reachable from both browsers. The server takes too long to response.

Now, considering that I have neither messed with the conf of the servers, nor with the port forwarding feature on my router, and that both servers are accessible within my home network, can anyone explain to me please that situation?!

Thank you!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat 6.0 reachable in Firefox, not in IE
 
Similar Threads
Java EE app not working when accessed with the IP address
Calling applet in a browser
IE Silently Rejects Cookies, then Denies Doing So
problem on tomcat 4.1