Do you have GUFW installed - it is the graphical Interface for UFW (Uncomplicated Firewall) If not add the GUFW interface which can be had through the Synaptic Package Manager.
from the terminal run
this will tell you which port is being used then you can allow that port in GUFW
This is what I get from that command, unfortunately it's all double dutch to me
$ netstat -nlp
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:6341 0.0.0.0:* LISTEN 7398/megasync
tcp 0 0 127.0.0.1:6342 0.0.0.0:* LISTEN 7398/megasync
tcp 0 0 0.0.0.0:8010 0.0.0.0:* LISTEN 376550/vlc
tcp6 0 0 :::8010 :::* LISTEN 376550/vlc
udp 0 0 127.0.0.53:53 0.0.0.0:* -
udp 0 0 224.0.0.251:5353 0.0.0.0:* 160167/slimjet --ty
udp 0 0 224.0.0.251:5353 0.0.0.0:* 160094/slimjet
udp 0 0 0.0.0.0:5353 0.0.0.0:* -
udp 0 0 0.0.0.0:54699 0.0.0.0:* -
udp6 0 0 :::52253 :::* -
udp6 0 0 :::5353 :::* -
raw6 0 0 :::58 :::* 7 -
Active UNIX domain sockets (only servers)
Proto RefCnt Flags Type State I-Node PID/Program name Path
unix 2 [ ACC ] STREAM LISTENING 32494 3743/cinnamon-sessi @/tmp/.ICE-unix/3743
unix 2 [ ACC ] SEQPACKET LISTENING 17135 - /run/udev/control
unix 2 [ ACC ] STREAM LISTENING 102024 160094/slimjet /tmp/.org.chromium.Chromium.MjBgbJ/SingletonSocket
unix 2 [ ACC ] STREAM LISTENING 32113 3701/systemd /run/user/1000/systemd/private
unix 2 [ ACC ] STREAM LISTENING 32118 3701/systemd /run/user/1000/bus
unix 2 [ ACC ] STREAM LISTENING 32119 3701/systemd /run/user/1000/gnupg/S.dirmngr
unix 2 [ ACC ] STREAM LISTENING 32120 3701/systemd /run/user/1000/gnupg/S.gpg-agent.browser
unix 2 [ ACC ] STREAM LISTENING 32121 3701/systemd /run/user/1000/gnupg/S.gpg-agent.extra
unix 2 [ ACC ] STREAM LISTENING 32122 3701/systemd /run/user/1000/gnupg/S.gpg-agent.ssh
unix 2 [ ACC ] STREAM LISTENING 32123 3701/systemd /run/user/1000/gnupg/S.gpg-agent
unix 2 [ ACC ] STREAM LISTENING 27815 - /run/irqbalance//irqbalance666.sock
unix 2 [ ACC ] STREAM LISTENING 32124 3701/systemd /run/user/1000/pk-debconf-socket
unix 2 [ ACC ] STREAM LISTENING 32125 3701/systemd /run/user/1000/pulse/native
unix 2 [ ACC ] STREAM LISTENING 36544 7398/megasync /home/rick/.local/share/data/Mega
unix 2 [ ACC ] STREAM LISTENING 32225 - /run/user/1000/keyring/control
unix 2 [ ACC ] STREAM LISTENING 36545 7398/megasync /home/rick/.local/share/data/Mega
unix 2 [ ACC ] STREAM LISTENING 28771 - @/tmp/.X11-unix/X0
unix 2 [ ACC ] STREAM LISTENING 31613 - /run/user/1000/keyring/pkcs11
unix 2 [ ACC ] STREAM LISTENING 32541 - /run/user/1000/keyring/ssh
unix 2 [ ACC ] STREAM LISTENING 17103 - /run/systemd/private
unix 2 [ ACC ] STREAM LISTENING 17105 - /run/systemd/userdb/io.systemd.DynamicUser
unix 2 [ ACC ] STREAM LISTENING 17115 - /run/lvm/lvmpolld.socket
unix 2 [ ACC ] SEQPACKET LISTENING 17119 - /run/systemd/coredump
unix 2 [ ACC ] STREAM LISTENING 17121 - /run/systemd/fsck.progress
unix 2 [ ACC ] STREAM LISTENING 17131 - /run/systemd/journal/stdout
unix 2 [ ACC ] STREAM LISTENING 18437 - /run/systemd/journal/io.systemd.journal
unix 2 [ ACC ] STREAM LISTENING 24772 - /run/acpid.socket
unix 2 [ ACC ] STREAM LISTENING 28772 - /tmp/.X11-unix/X0
unix 2 [ ACC ] STREAM LISTENING 64047 - @/tmp/dbus-GX0QBQ6Oqo
unix 2 [ ACC ] STREAM LISTENING 31526 - /tmp/ssh-SmPLi62uRJ0C/agent.3743
unix 2 [ ACC ] STREAM LISTENING 32495 3743/cinnamon-sessi /tmp/.ICE-unix/3743
unix 2 [ ACC ] STREAM LISTENING 24774 - /run/avahi-daemon/socket
unix 2 [ ACC ] STREAM LISTENING 33051 5341/dbus-daemon @/tmp/dbus-hBo5xFrqOH
unix 2 [ ACC ] STREAM LISTENING 24776 - /run/dbus/system_bus_socket
unix 2 [ ACC ] STREAM LISTENING 24778 - /run/uuidd/request