Re: setting the port for a running wo app (more information)
Re: setting the port for a running wo app (more information)
- Subject: Re: setting the port for a running wo app (more information)
- From: John Spicer <email@hidden>
- Date: Thu, 6 May 2004 14:16:54 -0500
Well, that's helpful. I tried it, and the port number I had picked
randomly (362436) is not being used.
So I'm no further along as to why the app refused to run.
On May 6, 2004, at 1:08 PM, Tarun Reddy wrote:
To find out what ports to avoid, check out the file /etc/services.
Those are a list of all registered (and some unregistered) ports. On
any give machine most of these won't be in use, but it is fairly
comprehensive and a good general rule (in addition to the >1024 and
<65535 rule).
If you want to see if the port you want to use is in use, do this:
sudo lsof | grep <port number>
also cool, but generally not as useful:
sudo lsof | grep TCP
which shows you all open TCP connections on your machine.
if anything returns, then a process is using that port. The second
column is the actual PID for that process.
Tarun
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.