ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Becroft <djcbecr...@gmail.com>
Subject Finding an available port number
Date Mon, 02 May 2011 21:30:37 GMT
Hi,

Is there a task or script that can be used to generate a (random) port
number that is known to be available? I'm trying to setup some server
instances for testing purposes, and I'd prefer not to hard-code port
numbers.

I'm running on Windows, so I don't have awk/sed available by default,
either.

Cheers,
---
Daniel Becroft

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message