I want to connect to the Java naming service (tnameserv) from an Orbix application.

Gary Leeson

One possible reason is the port number of the name service.

If I remember right orbix uses 1570 whilst the name server within the standard JDK uses port 900 - Your application may be trying to connect on the wrong port.