problem with ruby file server - TCPServer Error: Address already in use #247
-
Did anybody manage to setup ruby with the provided example command ? I do always get the error message "TCPServer Error: Address already in use" eventhough there is no running process. [root@solcon15 install]# ruby -run -ehttpd . -p8002 |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 6 replies
-
Hi |
Beta Was this translation helpful? Give feedback.
-
In my eyes it makes no sense to install ruby just to have an HTTP server serving installation files @sabrina-yee, Ansible and Docs need Python, so I would use: |
Beta Was this translation helpful? Give feedback.
-
As long as the installation kits are available to download via HTTP anything can be used. If that server happens to be one of the deployment machines then yes python would work too. @MagnaFrisia90 it does seem that the port is in use. Please check per @umeli suggestion. I see that you want to use port 8002 instead of 8001 so check: |
Beta Was this translation helpful? Give feedback.
-
What Python version is installed? The error looks more like a compiler or run error, pip itself works. Tons of options are available to run a local HTTP server: https://gist.github.com/willurd/5720255 You just need a service to provide the downloaded files to the machines. |
Beta Was this translation helpful? Give feedback.
What Python version is installed? The error looks more like a compiler or run error, pip itself works.
Tons of options are available to run a local HTTP server: https://gist.github.com/willurd/5720255 You just need a service to provide the downloaded files to the machines.