salman rafiq
salman rafiq

Reputation: 81

how to communicate with socket on azure virtual machine?

I had developed a socket on python that is work fine on physical machines , as I communicate with specific port number that is hard coded in my program (Python) that is 9070.Whenever execute this python socket on azure virtual machine or cloud service with worker role , cannot communicate with this socket.I am new to networking, i'll really appreciated if someone lead me to right point .

The error I found on client side is

TCP connection time out

Upvotes: 0

Views: 2002

Answers (1)

Joe Raio
Joe Raio

Reputation: 1805

If I am understanding your question correctly, you need to open up an endpoint to that port on your VM. You can find instructions here: Set up endpoints on a Virtual Machine

Upvotes: 1

Related Questions