Score:0

I cant open port on ubuntu 20.04 desktop

nu flag

I have Ubuntu 20.04 installed desktop pc.Ufw is inactive and all the modem port forwarding properly done.My problem is I cant open the ports to outside.For example 8765 port is listening on ubuntu but when I check the port checker I see that it is closed. Also when I check via 'sudo tcpdump -n icmp' command it shows icmp unreachable - admin prohibited To solve this I installed firewalld and gave permission to that ports via firewalld but no help.And then I uninstalled it.

This port is used by a node called bazuka.Also I have problems with other ports too.

For port 22, I installed ssh server and just port 22 shows open on yougetsignal port checker.

I am confused about ufw, iptables and nftables configuration.

If you need further information, I can write

root@desktop:~# sudo ufw status
Status: inactive

root@desktop:~# netstat -nltp | grep 8765
tcp        0      0 127.0.0.1:8765          0.0.0.0:*               LISTEN      118491/bazuka       

root@desktop:~# sudo lsof -i :8765
COMMAND    PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
bazuka  118491 root   13u  IPv4 420114      0t0  TCP localhost:8765 (LISTEN)

root@desktop:~# sudo tcpdump -n icmp
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on wlp6s0, link-type EN10MB (Ethernet), capture size 262144 bytes
Alejandro avatar
mz flag
Can you please edit your question and be more specific? Which port you are trying to open, which type of traffic it is going to handle (TCP or UDP), which service it is for, which commands you tried... I'm glad to help you with `ufw` but I need some more info.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.