Reserved ports for proxy
Nginx spawns webservices on different ports instead of the default ones (80 and 443) to let them be free to be used by other programs. We are going to use 50000 and 60000 (removed from the random range) Change-Id: I19208f961c41b0e9833dd4b402123fa5ac63f62a
This commit is contained in:
parent
36c20a1ef6
commit
4eb2314533
|
@ -50,7 +50,7 @@ def get_best_agent(ctx):
|
|||
|
||||
|
||||
def random_public_port():
|
||||
return random.randint(50000, 60000)
|
||||
return random.randint(50001, 59999)
|
||||
|
||||
|
||||
def manage_result(res, wamp_rpc_call, board_uuid):
|
||||
|
|
Loading…
Reference in New Issue