mikehale commented on issue #8527:
URL: https://github.com/apache/cloudstack/issues/8527#issuecomment-1898936381

   Just for grins I ran an nginx container and confirmed I could connect to it:
   
   ```
   $ docker run --name nginx-test -d -p 8080:80 nginx:stable-alpine-slim
   $ curl --max-time 3 -I http://localhost:8080
   HTTP/1.1 200 OK
   Server: nginx/1.24.0
   Date: Thu, 18 Jan 2024 17:25:12 GMT
   ```
   
   Running the simulator in privileged mode with a low port, still results in 
the same outcome:
   ```
   $ docker run --privileged --name simulator -p 1023:5050 -d 
apache/cloudstack-simulator:4.17.2.0
   $ curl --max-time 3 -I http://localhost:1023
   curl: (28) Operation timed out after 3002 milliseconds with 0 bytes received
   ```
   
   Looking at the logs I don't see anything listening on port 5050 inside the 
container, only port 8080:
   
   ```
   $ docker logs simulator | egrep '5050|8080'
   [INFO] Started ServerConnector@40d5ec9c{HTTP/1.1, (http/1.1)}{0.0.0.0:8080}
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to