Q:

Allow Azure/Centos mongodb port

I'm trying to install a mongodb replicaset Azure Centos OS 7.2. Following this tutorial:
azure mongodb docs, I've manage to get my tree centos instances up and running, with mongodb.
The problem is: I can't place a replicaset working. After struggling trying to make rs.initiate work using this json 
{
"_id" : "mongors",
    "members": [{
        "_id": 0,
        "host": "mongodbrs.cloudapp.net:27018"
    }, {
        "_id": 1,
        "host": "mongodbrs.cloudapp.net:27019"
    }, {
        "_id": 2,
        "host": "mongodbrs.cloudapp.net:27020"
    }]

}
and getting errors saying that was not possible connect to any other instance but itself, I realize that my problem was before configuring a replicaset.
My VM's can ping each other, pinging their private ip. Telnet to port 22 (also using private network ip) is working fine. 
But any other mongodb port is not allowed.
I got the network security group and inbound security rules set.

A:

You have an error in your source port range. You need to make this a wildcard (*), meaning your traffic can originate from any port.
The target port is where you specify the port range where traffic is allowed to reach.

