Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][tlug] get free local port for script?
- Date: Sat, 17 Mar 2007 22:55:57 +0900
- From: "Stephen J. Turnbull" <stephen@example.com>
- Subject: [tlug] get free local port for script?
- References: <20070317120851.GL13829@example.com>
Edward Wright writes: > I'd like to programmatically access a remote service over an ssh tunnel. > I need a free local port to use, and I'm wondering the best way to get > one. I don't understand. Some will be listening on port P only if you put it there. What's wrong with: Pick a port, grep for it in /etc/services, and if you discover that it's either not there or is registered only to services you'll never use, use it?
- Follow-Ups:
- Re: [tlug] get free local port for script?
- From: Edward Wright
- References:
- [tlug] get free local port for script?
- From: Edward Wright
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Adding text to the beginning of a file
- Next by Date: Re: [tlug] get free local port for script?
- Previous by thread: [tlug] get free local port for script?
- Next by thread: Re: [tlug] get free local port for script?
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links