Hello, i’m new here, and i’d like some help please :p I want to open a port because one of my progams (Vuze) needs it. Would you help me with it or show me a link to a tutorial please?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
thanks you both for your answers, they helped me a lot! I downloaded vuze again, and it solved the problem :) thanks a lot. Just have to figure out how to use it now X)
A port has to be bound to an application or service before it could be opened (which usually happens automatically). The output of iptables and netstat when you run it said that there are no existing firewall rules and only SSH is listening (on port 22), respectively, unless you cut off the rest of the output of netstat. If you installed vuze and run it, it should have opened some ports automatically. Try to run vuze and run again
sudo netstat -plutn
.root@vPs:~# sudo iptables -L -n -v Chain INPUT (policy ACCEPT 36 packets, 3104 bytes) pkts bytes target prot opt in out source destination
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes) pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 28 packets, 3376 bytes) pkts bytes target prot opt in out source destination
root@vPs:~# sudo netstat -plutn Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 873/sshd tcp6 0 0 :::22 :::* LISTEN 873/sshd
All ports should be open by default. If you can’t access port 50000, please post the output of
sudo iptables -L -n -v
andsudo netstat -plutn