This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Web Services and the fly likes Web server issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Web server issue" Watch "Web server issue" New topic

Web server issue

Pradeep Adibatla
Ranch Hand

Joined: Oct 27, 2009
Posts: 336
My program allows the enduser to make a transaction.Once transaction is done (in his internet) a request is sent to the webserver (not static IP ) which is on the LAN.

request goes
Webserver <------------ Client

Till now we were testing it by assuming the user is on LAN and he is able to save his transaction details.
However when we started testing it using independent browser (on his own internet and no LAN) the request is sent to the Webserver and the file is saved as pdf there but we are unable to take the file from there and show it on client's system.

What could be the problem ? IP related,URL? want to know the intricacies. thanks!
William P O'Sullivan
Ranch Hand

Joined: Mar 28, 2012
Posts: 859

Wow! He has his own "Internet"!! Where do I get one??

As for your problem, when the client is on the LAN and everything works,
but when disconnected from the LAN and it does not, that would indicate
maybe firewall or routing issues.

When off the LAN the IPs may differ considerably!

Pradeep Adibatla
Ranch Hand

Joined: Oct 27, 2009
Posts: 336
When off the LAN the IPs may differ considerably!

One more input ...
2 servers on LAN ... Map server and Web server
Map server has static IP whereas Web server doesn't. So When client accesses the web server , some of my team mates are suggesting that since the web server doesn't have a 'static IP ' (not clear about what this means) it is not able to get it back from web server to client system. Please comment on this as well .

So this has got to do with firewall or routing ..I guess I am getting closer to the solution because the internet gets disconnected at the point where I try to access
the web server.
So I should ensure that all clients have firewall off ??? thanks a ton WP! ... waiting for more clarity.
Pradeep Adibatla
Ranch Hand

Joined: Oct 27, 2009
Posts: 336
Firewall is off and the problem still persists. I think think the input which I gave in the above is feasible.
What other routing problems there could be? what else could have caused the problem?
Pradeep Adibatla
Ranch Hand

Joined: Oct 27, 2009
Posts: 336
Still Unclear? Ok another go...

A) Web server on the LAN , Client on LAN ---- > Client sends a request, server sends a response( a pdf file shows up on client's system) .End of story.

B) Web server still on LAN, Client on internet -----> Client sends a request two things happen

1)web server readies the Pdf file
2) loading begins but intenet connection goes off

has the file been sent? what is it that's blocking ? No firewall problem. Will the web server being Static IP solve the problem or ???

Please throw the possibilities for resoving... thanks
I agree. Here's the link:
subject: Web server issue
It's not a secret anymore!