telnet don't works between two vm ine the same virtual network Azure : I have à new account in azure (it's my first time) for test i have two vms with ip adress 10.0.0.4/5

the ping is ok between the two VM but the telnet don't works

when i do from vm 1

telnet 10.0.0.5 

    Trying 10.0.0.5...
    telnet: Unable to connect to remote host: Connection refused

it works juste with port 22 but it don't with othen port

can you help me how can i open the connection between my vms