SoftPlc
SoftPlc copied to clipboard
use docker run, but http://localhost:8080/ is not work.
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.
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.