Assumed your internet provider allows inbound connections (usually possible for "wired" internet), you need at least to configure port forwarding to your computer for the respective TCP port. It may be also necessary to open the port access in router or PC firewall.
In mobile internet, most providers do no longer support inbound connections due to deficiency of public IP4 addresses, instead a second router layer is sharing the public IP addresses between multiple users. The same might soon happen (or already does?) with wired internet providers.