SoftPlc icon indicating copy to clipboard operation
SoftPlc copied to clipboard

use docker run, but http://localhost:8080/ is not work.

Open fluber opened this issue 1 year ago • 2 comments

docker run -p 8080:80 -p 8443:443 -p 102:102 --name softplc fbarresi/softplc:latest-linux Initializing plc service... plc server started on port 102! info: Microsoft.Hosting.Lifetime[14] Now listening on: http://[::]:8080 info: Microsoft.Hosting.Lifetime[0] Application started. Press Ctrl+C to shut down. info: Microsoft.Hosting.Lifetime[0] Hosting environment: Production info: Microsoft.Hosting.Lifetime[0] Content root path: /app

but use browser to http://localhost:8080/ not work. can't see anything.

fluber avatar Mar 17 '24 10:03 fluber

You should run

docker run -p 8080:8080 -p 8443:443 -p 102:102 --name softplc fbarresi/softplc:latest-linux

Since the internal server is listening on port 8080, you should bind to it.

jskang-cle avatar Jun 24 '24 05:06 jskang-cle