Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have an interesting problem for you.

I have a few ports that I opened up. On my router and I allowed then on my firewall too with sudo ufw allow 30999.

But still the application which would use it, for example ssh server, still can't. And if I go to an open port checker site it still says that the port is closed.

So I ran out of options. I did the usual. I restarted and stuff like that, but nothing seems to help.

This is an Kubuntu 12.04 32 Bit. updated machine. Wireless connection with a Sky Broadband router in the UK.

Thanks!!!

share|improve this question
add comment

1 Answer 1

Never mind.... Just found it that there was no service running behind it. So it seems that it is closed as long as there is no service behind it.

My bad. Noob. Just learning the curve. Sorry.

share|improve this answer
1  
The port is not 'closed', there is simply nothing listening on that port. If you tell an application (ufw, iptables, etc) to block it, it is now closed and SHOULD start timing out. No application listening? Connection refused. Blocked or closed by a firewall? Times out because it simply drops the packets, ignoring them. –  UtahJarhead Apr 19 '12 at 23:04
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.