File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 42965
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 ]
subject: Web application on internet
It's not a secret anymore!