aspose file tools*
The moose likes Tomcat and the fly likes Executing Netbeans 3.6 web application from another pc Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Executing Netbeans 3.6 web application from another pc" Watch "Executing Netbeans 3.6 web application from another pc" New topic
Author

Executing Netbeans 3.6 web application from another pc

colin shuker
Ranch Hand

Joined: Apr 11, 2005
Posts: 743
Hi there, I've been told its possible to connect to the tomcat server
on netbeans 3.6 on my pc from another pc using my IP address.

Currently when I execute a certain html page in a web-application,
the address shown on my browser is:

http://localhost:8084/Sudoku-Hitori/index.html

If my IP is address is XXX.XXX.XXX.XXX, then is there an address I
can use on another pc to execute the index.html page??
I've tried several combinations, but I don't think its meant to be

Any help would be great. Thanks
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12682
    
    5
Theoretically you should be able address Tomcat on the other machine, but routers and firewalls may be preventing it, especially since you are using a port not the normal web server port.
What exactly separates the two machines? Are they on the same LAN? Behind the same router?
Bill


Java Resources at www.wbrogden.com
colin shuker
Ranch Hand

Joined: Apr 11, 2005
Posts: 743
Well... I wanted anyone to be able to connect to my pc.
In my house there are 2 macs, and my pc whioh use the same router.
And I think they are on a LAN too.

I found the IP address for this pc, and the mac laptop was the same.
So I guess its referring to the router
When I use this address in my browser, the routers page comes up.
The WAN IP is 86.138.247.7 (same as IP's found above).

For my pc, the IP address is 192.168.2.2(from router page)

Also, there is a virtual server option and a firewall option, as well as filters.
It needs to know the LAN port and Public Port, would this be 80 then 84?
I'll try it.
Its a bit difficult trying to explain when I don't know how it works.
Thanks for any help
 
jQuery in Action, 2nd edition
 
subject: Executing Netbeans 3.6 web application from another pc
 
Similar Threads
Using PC as server
Problem in accessing my webapplication from a different PC connected in a LAN
Tomcat intranet Web Application
Session management - cookies / URL rewriting
HTTP Status 404 - /examples/jsp/