• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: setting the port for a running wo app (more information)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: setting the port for a running wo app (more information)
      • From: Deirdre Saoirse Moen <email@hidden>
References: 
 >setting the port for a running wo app (From: John Spicer <email@hidden>)
 >Re: setting the port for a running wo app (more information) (From: John Spicer <email@hidden>)
 >Re: setting the port for a running wo app (more information) (From: Arturo Perez <email@hidden>)
 >Re: setting the port for a running wo app (more information) (From: Tarun Reddy <email@hidden>)

  • Prev by Date: Re: setting the port for a running wo app (more information)
  • Next by Date: Re: setting the port for a running wo app (more information)
  • Previous by thread: Re: setting the port for a running wo app (more information)
  • Next by thread: Re: setting the port for a running wo app (more information)
  • Index(es):
    • Date
    • Thread