DEV Community

loading...

Open a router port for home Ubuntu Server 20.04

try_catch
I know some code
Updated on ・1 min read

Problem:

You've run your application on home server (e.g. Ubuntu Server 20.04), but it isn't available outside.

Solution:

1) Check your IPs

External:

curl ifconfig.me
Enter fullscreen mode Exit fullscreen mode

Internal:

ip a
Enter fullscreen mode Exit fullscreen mode

2) Make app's port available

A complete guide on how to open Ubuntu port is on my blog

Discussion (0)