Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have developed a Java Web Application and I want to show it to my client by hosting it on a server.

I tried to run it on my localpc through web-browser and it worked fine. I gave the hostname as "localhost" in the URL of my webApplication.

Now I want to show it to my client who is on other computer on internet. I tried to replace the "localhost" from my webApplication's url to my current ip address. But when I put that URL on my own browser, it didn't work.

How can I show that web-application to my client.

I have my own domain name but do not own any web-hosting.

I don't want to purchase a web-hosting plan.


One more problem:

I don't have static IP address. My IP changes almost everytime when I connect to my ISP.

share|improve this question

migrated from stackoverflow.com Jan 31 '10 at 18:12

This question came from our site for professional and enthusiast programmers.

3 Answers 3

With your current skill set, I would suggest that you sign up with Google Apps and deploy your Java web application to their cloud. There are some restrictions but probably not anyone you will have trouble with.

Otherwise you need to poke a hole in your router so others can access your web server.

share|improve this answer

I tried to replace the "localhost" from my webApplication's url to my current ip address. But when I put that URL on my own browser, it didn't work.

It's impossible to say anything without more details on your network configuration: are you using a router, do you have a firewall, etc. Also, first check that you can use your local IP address (not the loopback address, not the external IP address, your local non routable address).

I don't have static IP address. My IP changes almost everytime when I connect to my ISP.

That's not a problem and if you don't want to give your "external" IP to your clien each time, you could use a dynamic DNS service like dyndns.org or no-ip.org.

share|improve this answer

It is possible only when you have a static IP address.

share|improve this answer
    
Well, it works with a dynamic IP as well. You only need to change the IP everytime when one is about to access it externally. –  BalusC Jan 31 '10 at 18:09
    
Thats exactly why dyndns.org and others exist. –  Thorbjørn Ravn Andersen Jan 31 '10 at 20:45

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.