on azure i need to setup a port 7013 for forwarding

Joel Lang 0 Reputation points
2025-07-31T15:12:41.4566667+00:00

how do I put in the additional port 7013 for port forwarding to the azure redhat virtual machine

Azure Red Hat OpenShift
Azure Red Hat OpenShift

An Azure service that provides a flexible, self-service deployment of fully managed OpenShift clusters.

0 comments No comments

4 answers

Sort by: Most helpful
  1. Durga Reshma Malthi 11,600 Reputation points Microsoft External Staff Moderator
    2025-08-01T10:05:39.8066667+00:00

    Hi Joel Lang

    Run this on the Linux VM: sudo netstat -tulnp | grep 7013, then you will see some output. If you see nothing, then the FacetWin service is not listening on port 7013.

    From your local Windows PC or another machine, run this: Test-NetConnection -ComputerName <public-ip> -Port 7013

    Hope this helps!

    Please Let me know if you have any queries.

    Was this answer helpful?


  2. Joel Lang 0 Reputation points
    2025-07-31T18:21:15.88+00:00

    how can i test if 7013 is open

    Was this answer helpful?


  3. Joel Lang 0 Reputation points
    2025-07-31T17:55:23.6766667+00:00

    I did all this . for the firewall

    User's image

    also I added the 7013 tcp to the vm with the port rules

    as per enclosed

    User's image

    I then tried my application and it still is not getting through the port. The application is facetwin.

    please advise what next I can do?

    Was this answer helpful?

    0 comments No comments

  4. Durga Reshma Malthi 11,600 Reputation points Microsoft External Staff Moderator
    2025-07-31T15:50:44.1033333+00:00

    Hi Joel Lang

    To set up port forwarding for port 7013 to an Azure Red Hat Virtual Machine, you will need to configure the Azure Network Security Group (NSG) associated with the VM to allow inbound traffic on that port.

    Please follow the below steps:

    1. Go to Azure Portal -> Virtual machines -> Select your Red Hat VM -> Go to Networking section -> Network Interface (NIC) associated with your VM. Click on the NIC -> In the NIC settings -> Network security group -> click on the NSG linked to your VM.
    2. In the NSG settings -> click on Inbound security rules -> Click + Add -> Now add the following details:
      • Source: Choose Any or specify the source IP range if you want to restrict access.
      • Source port ranges: Leave this as * (all ports).
      • Destination: Choose Any or specify the IP address of your VM.
      • Destination port ranges: Enter 7013.
      • Protocol: Select TCP
      • Action: Select Allow.
      • Priority: Set a priority number.
      • Name: Provide a name for the rule.
      • Description: Optionally, add a description.
    3. Click on Add to create the rule.
    4. Now to Configure Firewall on the Red Hat VM -> Connect to your Red Hat VM using SSH -> Check if the firewall (e.g., firewalld or iptables) is running and configured to allow traffic on port 7013.
         # Check if firewalld is running
         sudo systemctl status firewalld
         # Allow traffic on port 7013
         sudo firewall-cmd --zone=public --add-port=7013/tcp --permanent
         # Reload the firewall to apply changes
         sudo firewall-cmd --reload
      

    And then try accessing your VM through port 7013 from the relevant client or application to test connectivity.

    Hope this helps!

    Please Let me know if you have any queries.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.