I have created a VM on Azure with below steps:-
- Created VM
- Assigned a public static IP
- Created a new Virtual Network (Subnet default - (10.0.0.0/24)
- Did not create a NSG initially (NIC NSG was NONE - Not BASIC OR ADVANCE)
- No firewall or loadbalancer
- At this point my team could access port 22 and asked me to enable ports 9089-9095 for testing APIs
- Created a NSG and associated with both Network interface (Basic) and Virtual network
- Inbound rules I opened up all ports with maximum priority
- I also enabled IP forwarding for NIC
- No Route tables configured. No NAT configured
- Right now as well I am able to access port 22 only
Telnet to any other port responds with:
Connection failed: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond :9091