Use the following steps to check the network environment settings and NPort settings:
- Connect to your NPort’s web UI by entering the IP address of the NPort in a browser and make sure that your NPort is in the TCP Server mode.
For example, if you are using NPort 6000 Series, go to the Serial Port Configuration > Operation Modes page. Select Socket in the drop-down menu for the Application field and then select TCP Server for the Mode field.
- Make sure that the listening TCP Port of your NPort matches the destination port of your TCP client program.
- If your host computer (host) and NPort are in a DHCP environment, do the following:
- Assign a fixed IP address to the NPort and your host and make sure that they are in the same network subnet.
- If the IP address of the NPort is unknown or the NPort is not in the same subnet as the host, install the Device Search Utility/NPort Search Utility and click on the Search button to find all NPorts that are connected to the host or on the same LAN.
- If you are using the DE-311/211, make sure that DIP SW1 is switched off for data communication.
- Connect to the NPort’s web UI and check if the destination ports of your TCP client program are occupied.
For example, if you are using the NPort 6000 Series, go to the Log, Monitoring and Warning > System Monitoring > System Status > Network Connections page and make sure the destination ports of your TCP client program (or the local TCP port of your NPort) are in the LISTEN state.
- Ensure that the IP address of your host is included in the accessible IP list of the NPort.
For example, in the NPort 6000 Series, you can go to the System Configuration > Accessible IP List page to check the accessible IP list and include the IP address of the host, if it is not already included.
- Ensure that the filtering rules in your firewall do not restrict the destination TCP ports of the TCP client program (or the local TCP ports of your NPort).