I don't know if this is Azure specific issue or it is normal to have different IP address assigned to the interface from the public IP address for the same server.
I use a public-ip address as mentioned on the Azure portal to ssh into my machine. However, when I do ip a
on the machine, it returns inet in 3rd block named docker0 which is completely different from public-ip. I want to access Jupyterhub running on my machine, and I tried both the addresses and none of them worked.