aspose file tools*
The moose likes Distributed Java and the fly likes Client cannot access CORBA Server behind firwall Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Client cannot access CORBA Server behind firwall" Watch "Client cannot access CORBA Server behind firwall" New topic
Author

Client cannot access CORBA Server behind firwall

s Joshi
Greenhorn

Joined: Sep 26, 2005
Posts: 12
I have a standalone java client accessing a CORBA Server which is running behind a firewall. This firewall uses Network Address Translation (NAT).

The server sends its internal address to client and because of that my client is not able to access CORBA Server from outside network.

I have spent days solving this problem. Any help is appreciated.
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

What CORBA provider are you using?

Look for something like "proxy" in the documentation - the "proxy" is the address you want the client to use.


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
s Joshi
Greenhorn

Joined: Sep 26, 2005
Posts: 12
I am using Sun's CORBA provider.

I am looking for an open source proxy server. Any recommendations?
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

You mean the version of CORBA that comes with the JDK?

You might be able to use the "org.omg.CORBA.ORBInitialHost" property in your clients - look in the JDK tool docs for more information.

As far as a good open source CORBA implementation - JACORB is an open source Java implementation.
junchen liu
Greenhorn

Joined: Feb 19, 2008
Posts: 26
hi mate. specify OAIPort number and OAIAddr in your jacorb properties

file, or pass the property in your code,

e.g. OAIport = 3000
OAIAddr = 192.168.10.10

you servant on 92.168.10.10 will create a tcp server port on local port 3000 at address 192.168.10.10

so those information need to be set on firewall e.g. inbound and outbond on port 300 should be open


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Client cannot access CORBA Server behind firwall
 
Similar Threads
Firewall interfere with the operation of IIOP?
connecting through NAT firewall
Returning the users IP address
Can I access EJB from outside firewall in VPN?
Sending video streams to a remote computer