This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Web Services and the fly likes Web application on internet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Web application on internet" Watch "Web application on internet" New topic

Web application on internet

Bharadwaj Adepu
Ranch Hand

Joined: Dec 30, 2007
Posts: 99
I am running a Web Application on the local server,How can i put that Web application that am running on the Internet..
What do i need to do this, how can i do this?

SCJP 1.5
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 41599
That depends on your network setup. In company networks, inbound traffic is generally restricted to one particular subnet, of which your machine is most likely not part. The network admin would also need to set up an external IP address for your machine. But in all likelihood, he's going to do neither of those things for security reasons.

If you're directly connected to the internet (e.g. through DSL) you'll just have to open your firewall on whichever port the WS is listening, and tell the other side what IP address you have. Note that the address can change if you have a dynamic IP address. I would advise against opening up your system in this way.

Alternatively, you can put it on a Java-enabled web host, which can be had starting at around USD 5 per month.
[ January 07, 2008: Message edited by: Ulf Dittmer ]

Ping & DNS - my free Android networking tools app
I agree. Here's the link:
subject: Web application on internet