• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Executing Netbeans 3.6 web application from another pc

 
Ranch Hand
Posts: 750
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
I just had the craziest dream. This tiny ad was in it.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic