Click to See Complete Forum and Search --> : [Resolved] ports blocked on fresh 1&1 root server


jacrewq
01-14-2005, 04:00 PM
For some I cannot connect to ftp, pop, smtp, mysql -- all ports other than 80,
ssl and ssh, from outside the network. I can connect only to "localhost " but cannot from outside.
Here is an example trying to connect to ftp from my home pc :

C:\>telnet 217.160.249.13 21
Connecting To 217.160.249.13...Could not open connection to the host, on port 21
: Connect failed

Same happens when I connect to ftp, mysql, anything other than ports 80,
ssl, ssh.

I can connect to mysql only when I set it to operate on port 80 (and stop httpd of course)


Moreover, the root server does not connect to other servers. :confused:


[root@server root]# wget google.com
--14:29:56-- http://google.com/
=> `index.html'
Resolving google.com... 216.239.57.99, 216.239.37.99, 216.239.39.99
Connecting to google.com[216.239.57.99]:80...
*******delay
Connecting to google.com[216.239.57.99]:80... failed: Connection timed out.

I tried downloading from other servers, and using curl -- all failed. Even my php scripts cannot conenct to anywhere; or when I try to use apache as a proxy server, connecting to another server -- I get connection falures.
I can connect to localhost only :) - wget localhost works fine..

Server has Fedora Core 2 Linux Plesk 7.5 Reloaded.
The iptables are empty, plesk firewall setting allow everything.. Still all ports bloked. I used nmap to scan ports on the server - www, ssh, plesk - are the only open ports!!
I just got the server from 1&1.


Please advise how I can fix it. Thanks!

Roger Ramjet
01-16-2005, 07:43 PM
FIREWALL is all it is. Standard behaviour. If all ports are open as you claim then you don't have a firewall. But your errors say you do. And remember there are Ports and there are Protocols, even if it is set up to say allow UPD on a particular port, that does not mean that TCP can pass through as well.

Even if your gateway firewall is open, the server may have benn configured with it's own to protect itself, Sounds like that to me.