Skip to content

Commit

Permalink
Use larger ports
Browse files Browse the repository at this point in the history
  • Loading branch information
LennoxLiu committed Apr 7, 2024
1 parent 742746a commit 5c21515
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hpc/singularity/hq_scripts/job.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

function get_avaliable_port {
# Define the range of ports to select from
MIN_PORT=1024
MAX_PORT=65535
MIN_PORT=600000
MAX_PORT=655350

# Generate a random port number
port=$(shuf -i $MIN_PORT-$MAX_PORT -n 1)
Expand Down

0 comments on commit 5c21515

Please sign in to comment.