aspose file tools
The moose likes Distributed Java and the fly likes Http Tunneling in RMI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Http Tunneling in RMI" Watch "Http Tunneling in RMI" New topic

Http Tunneling in RMI

Charu Singh

Joined: Jun 10, 2005
Posts: 20
I have developed an rmi server which runs fine on the intranet but when I try t run it on the internet the connection fails as there are some firewall issues. Can someone tell me how to use Http tunneling for my RMI calls to overcome this problem.

Nathan Pruett

Joined: Oct 18, 2000
Posts: 4121

See the JGuru RMI tutorial, specifically the section entitled "Firewall Issues" to get a good understanding of what is going on. Then check out Sun's RMI FAQ, specifically the "Networking" section that deals with workarounds to firewalls and questions about using the cgi-script versus a servlet.

Write once, run anywhere, because there's nowhere to hide! - /. A.C.
Charu Singh

Joined: Jun 10, 2005
Posts: 20
Thanks a lot..I'll go through these and come back if there's still a problem.

Thanks again
subject: Http Tunneling in RMI