Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / December 2007

Tip: Looking for answers? Try searching our database.

Java Servlet / JSP Example

Thread view: 
saifnobel@gmail.com - 12 Dec 2007 15:47 GMT
I have a servlet JSP example compiled and running on my home PC. When
I open the following link in a web browser on my PC,

http://localhost:8084/servlets-examples/index.html

I can view this page. How can I view this same page remotely? That is,
how do I configure my PC and this servlet example for it to be
viewable on the Internet from anywhere?

Cheers,

Saif
Lew - 12 Dec 2007 16:23 GMT
> I have a servlet JSP example compiled and running on my home PC. When
> I open the following link in a web browser on my PC,
[quoted text clipped - 4 lines]
> how do I configure my PC and this servlet example for it to be
> viewable on the Internet from anywhere?

Assuming that you do not violate your ISP's Terms of Service (TOS), there
isn't usually anything special.  Naturally you cannot refer to it as
"localhost" from a remote location; your client will have to use the publicly
accessible address.

Naturally your firewalls and routers will have to let the request in, but that
has nothing to do with your app server or servlet.

Signature

Lew

Matt Humphrey - 12 Dec 2007 18:46 GMT
>> I have a servlet JSP example compiled and running on my home PC. When
>> I open the following link in a web browser on my PC,
[quoted text clipped - 12 lines]
> Naturally your firewalls and routers will have to let the request in, but
> that has nothing to do with your app server or servlet.

Check out no-ip.org.  They allow you to map your publically accessible IP to
a domain name. If you have a dynamic IP (which you probably do) this will
keep DNS updated with the current value.  It works this out automatically by
reflecting off their website.  You will still have to configure your
firewall and routers to forward the connection to your local machine, if you
have such intermediaries.

Matt Humphrey http://www.iviz.com/
Matt Humphrey - 12 Dec 2007 19:04 GMT
> Check out no-ip.org.  They allow you to map your publically accessible IP
> to a domain name.

For free.

> If you have a dynamic IP (which you probably do) this will keep DNS
> updated with the current value.  It works this out automatically by
> reflecting off their website.  You will still have to configure your
> firewall and routers to forward the connection to your local machine, if
> you have such intermediaries.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.