File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Distributed Java and the fly likes problem opening port 900 on mac os x Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "problem opening port 900 on mac os x" Watch "problem opening port 900 on mac os x" New topic
Author

problem opening port 900 on mac os x

hiteshkumar ubharani
Greenhorn

Joined: Dec 15, 2006
Posts: 3
hi i am new to client server programming, also java, and I tried using a new external tool called tnameserver in ecllipse, and when i tried running this tool I got an error as follows:

Feb 4, 2007 8:35:45 PM com.sun.corba.se.impl.transport.SocketOrChannelAcceptorImpl initialize
SEVERE: "IOP00410216: (COMM_FAILURE) Unable to create listener thread on the specified port: 900" and much more continued

my professor says that
Possible causes are:
1) You are using a Linux/Unix or Mac machine. These Operating system prohibit non-root opening a socket on any port < 1024.
2) You already have another application listening on port 900. If you
are using Windows, "netstat -nao" will show you which one it is. If you
are using some other OS, you'll have to find the command yourself

please help.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39537
    
  27
Welcome to JavaRanch.

I'd say your professor is right.
[ February 05, 2007: Message edited by: Ulf Dittmer ]

Ping & DNS - updated with new look and Ping home screen widget
hiteshkumar ubharani
Greenhorn

Joined: Dec 15, 2006
Posts: 3
I have found the command its netstat again for mac, but still wondering what next
Reza Ravasizadeh
Ranch Hand

Joined: Jun 08, 2004
Posts: 177
netstat tells you which ports are occupied.


Reza
hiteshkumar ubharani
Greenhorn

Joined: Dec 15, 2006
Posts: 3
but the question still remains, how to address different port for initializing socket, as my port 900 is occupied.
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

You could read the documentation ... all the command line options for tnameserv are listed there. (Including one that lets you specify the port...)


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem opening port 900 on mac os x
 
Similar Threads
Java and MacOS X
configure Internet wireless router
Applet signing and Mac OS 9.x
MySQL Communications Error between application server and MySQL server
8080 port already in use