In Azure VM's you have to configure the allowed ports. You will need to ask which ports are available. Problem may be that the ports available might already be in use (e.g. 80 and 443 standard web ports).
If that is the case, you will need to be able to configure a proxy. If the VM is already running NGINX web server for example, you can configure it to act as a proxy for NR. You would then access NR using the standard web address but on a folder, e.g. something like
myserver.azure.com/proxyred/....
Needless to say, this is tricky to set up. Easier to ask your teacher to open up the NR port instead!