This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills: The software developer's life manual and have John Sonmez on-line!
See this thread for details.
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Executing Netbeans 3.6 web application from another pc

 
colin shuker
Ranch Hand
Posts: 750
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13044
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
colin shuker
Ranch Hand
Posts: 750
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic