Home / Port numbers / Port 8728
Port 8728: MikroTik API
Scripted management of MikroTik routers. Port 8728 uses TCP.
- Port
- 8728
- Commonly used for
- MikroTik API
- Transport
- TCP
- Encrypted
- No (8729 is the TLS port)
- Range
- User (registered) port, 1024 to 49151
- Our advice
- Keep it closed to the internet
- IANA registration
- Not assigned to any service
Registration: IANA Service Name and Transport Protocol Port Number Registry, retrieved 15 November 2026. The registered name can differ from the everyday use, because popular software often adopts a port without registering it. The description and advice are written by Home Net Guide and describe common practice: any program can be set to use any port.
What port 8728 is used for
Port 8728 is the RouterOS API, which lets scripts and monitoring software read and change a MikroTik router's configuration. Port 8729 offers the same API over TLS.
Should port 8728 be open?
It accepts the router's administrator credentials and is a common target for password guessing. If you do not use the API, disable the service. If you do, limit it to the addresses that need it and prefer the TLS port.
IANA, which keeps the official list of port numbers, has not assigned port 8728 to any service. The use described here is a convention that software makers have settled on.
Related ports
- Port 8291 (MikroTik Winbox): the MikroTik router management application
- Port 161 (SNMP): reading status and settings from network equipment
See all port numbers for the full list and how ports, TCP and UDP work.
Previous: Port 8443 (HTTPS alternate) · Next: Port 8883 (MQTT over TLS)