Testing website from web server

mph23 used Ask the Experts™
I have recently been tasked to maintain a website developed by someone else on a Windows box. The website is developed using java and html.

How do I test the website modules directly from the web server.

Can I run http://localhost or something like that?
Do I need to specify a port? If so, how can I figure out which one to use?

Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Fixer of Problems
Most Valuable Expert 2014
Depends a little on how it is configured.  If it is a public web site, you should be able to use the normal web site address to get to it.  If the web site is configured to use a specific IP address, then you will have to use that because it won't respond to 'locahost'.
mph23Software developer


It is a public website, but I thought there was a special way to view it when you're actually on the web server.
Dave BaldwinFixer of Problems
Most Valuable Expert 2014

Even if it responds to 'localhost', you will still see the same thing you see from the public access.  It is possible to configure a site to have special restricted access locally but that is not very common.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial