Search Our Support Knowledge Base

Find product articles and support information.

My Cloud OS 3: Port Usage and Assignments


IMPORTANT: My Cloud OS 3 End of Support Notice!

My Cloud OS 3 has reached its end of support life cycle.
Please update to My Cloud OS 5.

Need more help?

To determine what services and ports are being used on a My Cloud

1. Enable SSH on the My Cloud and Log In.
For instructions, please refer to Answer ID 26497: How to Access WD My Cloud Using SSH (Secure Shell)
2. Log in as user 'sshd'
3. Run the following command in the SSH console, to see what TCP/UDP and ports My Cloud services are utilizing.

netstat -tulpn


Format of the output
Click Here to view an example output from a My Cloud PR4100

Protocol Recv Socket Queue Send Socket Queue Local Address/Port Foreign Address State Process ID/Program Name
tcp 0 0 0.0.0.0:3483 0.0.0.0:* LISTEN 5504/perl
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 4834/httpd
tcp 0 0 127.0.0.1:4700 0.0.0.0:* LISTEN 22554/cnid_metad
tcp 0 0 0.0.0.0:53180 0.0.0.0:* LISTEN 5504/perl

NOTE: When looking for a specific port or service, the grep command can be used.

netstat -tulpn | grep vpn
netstat -tulpn | grep smbd
netstat -tulpn | grep snmp
netstat -tulpn | grep Plex



My Cloud UPnP Port Mapping

My Cloud external UPnP ports are randomly assigned between the port range of 9000 - 9999.
Run the following command to see what Internal and External My Cloud and UPnP ports are being assigned.

cat /tmp/dynamicconfig.ini | grep PORT

Format of the output is

EXTERNAL_PORT="9000"
EXTERNAL_SSL_PORT="9446"
INTERNAL_PORT="80"
DEVICE_SSL_PORT="443"
DEFAULT_PORTS_ONLY="FALSE"
MANUAL_PORT_FORWARD="FALSE"
MANUAL_EXTERNAL_HTTP_PORT=""
MANUAL_EXTERNAL_HTTPS_PORT=""



My Cloud Configuration

Details
Answer ID 8009
Published 08/20/2018 01:09 AM
Updated 04/06/2022 12:05 PM

Please rate the helpfulness of this answer