Found reason
thought that when I open container port with this command
-p “5005:5005”
that it opens in local-host but it opened to public internet, so when I changed this
socketUrl: “http://localhost:5005”,
to this
socketUrl: “http://vetbot.omnia.fi:5005”,
Chatbot started to work! Isn’t this a security risk?
I can see with command
ifoconfig
that container bridge is at 172.17.0.1
docker0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255