Skip to content

Conversation

calebwatt15
Copy link

Add ability to change port of agent.py via command line. This can be done by passing -p followed by a port number. This allows users to easily change the port number while running agent.py, in case port 9000 is being used.

A user can call the agent.py script, along with a -p flag followed by an
integer between 0 and 65535 (inclusive). This will set the agent.py port
to that number. If no argument is called, the script will default to port
9000.
Comparison in port number allowed ports outside of 0-65535 range, crashing
Bottle library. agent.py now restricts ports to 0-65535.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant