Port 8291 is Winbox, the management port for MikroTik routers.
At a glance
Port
8291 / TCP
Service
MikroTik Winbox
Also called
winbox
If exposed
High risk if exposed
What runs on port 8291
MikroTik RouterOS devices accept connections from the Winbox configuration app on TCP 8291. It gives full administrative control of the router. MikroTik gear is popular with small ISPs, offices and enthusiasts.
On a home network
MikroTik routers and access points listen on 8291 on the LAN. Other brands do not use it.
If port 8291 is reachable from the internet
Winbox should never be reachable from the internet. A Winbox flaw patched in 2018 let attackers read router credentials, and it was used to hijack large numbers of MikroTik routers, including for injecting cryptomining scripts into web traffic. Exposed MikroTik devices were later recruited into the Meris botnet in 2021. Restrict 8291 to your LAN with a firewall rule and keep RouterOS updated.
How to check whether it is open on your network
In RouterOS, check IP, Services and limit Winbox to your local addresses. RECON's Exposure Check tests whether 8291 answers on your public address.