Address/port binding/mapping complete

Binding to 127.0.0.1 does not work well for the connection test,
so the script will try with the container's IP address and original
port. The test to the API itself will still use the specified
binding where possible.