127.0.0.1 aka “local host”, is the machine itself, os that works because you’re running the command from the same host as the docker is running.
So if you want to access it from another pc/host, you need to access it via the real ip or hostname of that server, fx. http://192.168… (or whatever your local ip adresses is)
Thanks. I have been trying to access it from everywhere. I have tried all three ips from three places for nine total. The thre ips are 0.0.0.0, 127.0.0.1, and 192.168.1.103. The three locations are inside docker on the server, outside docker on the server, and from a client pc. The only ones that work are ones used inside docker with curl. I am not able to access the server in the container from the outside.
I fixed it the hard way I upgraded my linux server from ubuntu 18 to 20. This gave me a pretty fresh system. At reboot docker was already running and working.