Click here to Skip to main content
14,271,663 members
Rate this:
Please Sign up or sign in to vote.
Hi guys

I want to know how can I able to run a web site that hosted using on a remote local web server using Apache tomcat from another computers web browsers.

Assume that both computers are windows xp or higher is installed and also both those computers are connected to a same work-group or domain. Both these computers are using Apache tomcat!


Updated Question

OK Guys here is my question

Computer 01 has Apache Web Server installed using XAMP. The Computer 02 has not installed Apache Web Server or any other web server like MS IIS 7.0. In Computer 01's web server contains a web site called My_Web and it is in a folder with the same name. I want now is to connect that web site using that remote Computer 02's web browser.

In the Computer 02's web browser's URL Box the following syntax must be viewed http://ipaddress/My_Web/My_Web.html

I need this info really

Updated 17-Oct-11 21:07pm
Manfred Rudolf Bihy 17-Oct-11 10:42am
"remote local webserver" sounds like an oxymoron at first, but maybe if you explain in greater detail things will become clearer.

Please edit your question and add more detail regarding this!
Sergey Alexandrovich Kryukov 17-Oct-11 12:05pm
Absolute oxymoron, you are right.
Uday P.Singh 18-Oct-11 3:22am
what are you trying to do?
Rate this:
Please Sign up or sign in to vote.

Solution 1

In your updated scenario I you should be able to access the website on computer01 from computer02. The IP address entered in the URL of computes02's browser should be that of computer01. The standard configuration in httpd.conf is Listen 80 which means the XAMPP server will use any unbound IP addresses on that computer to listen for HTTP requests. If there is also an IIS installed on computer01 the LAN IP address of computer01 might already be in use in conjunction with port 80 and can thus not be used by the Apache XAMPP server.

Another issue all together is the firewall settings of computer01. You'll have to make sure that computer01's firewall lets HTTP requests pass.

Best Regards,

Rate this:
Please Sign up or sign in to vote.

Solution 3

Ok I had the solution my self. Just copy the folder that contains the web pages to Computer 01's C:\XAMP\htdocs and remember the home page's name.
The port of the web server will be as default as 80.

Then go to the computer 02 and add the browser of that computer type
http://ipaddress of the computer 01/folder/home_page.html

Thanks guys!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100