Control Web Panel

WebPanel => E-Mail => Topic started by: changlee on July 25, 2018, 09:39:41 AM

Title: Open 465 port
Post by: changlee on July 25, 2018, 09:39:41 AM
Hello,
I am trying to use Amazon SES for my websites at my CWP server.

My SES credentials work fine and tested locally through Thunderbird. Under a port check from my website online I receive:

Quote
Port 25 OK
Port 2525 not opened on your server errornum: 111 : Connection refused
Port 587 OK
Port 465 not opened on your server errornum: 0 :

I have also added at /admin/index.php?module=file_editor&file=/etc/csf/csf.conf the 465 at

# Allow outgoing TCP ports
and
# Allow incoming TCP ports

But problem remains. And if I disable firewall again I receive:

Quote
Port 25 OK
Port 2525 OK
Port 587 OK
Port 465 not opened on your server errornum: 0 :
Title: Re: Open 465 port
Post by: studio4host on July 25, 2018, 01:39:20 PM
try checking if the port 465 is listening on the server

Code: [Select]
netstat -tulpn|grep master
Title: Re: Open 465 port
Post by: changlee on July 26, 2018, 06:38:11 AM
I receive:

Quote
...
tcp        0      0 0.0.0.0:587             0.0.0.0:*               LISTEN      1317/master         
tcp        0      0 0.0.0.0:2030            0.0.0.0:*               LISTEN      954/cwpsrv: master 
tcp        0      0 0.0.0.0:2095            0.0.0.0:*               LISTEN      954/cwpsrv: master 
tcp        0      0 0.0.0.0:2031            0.0.0.0:*               LISTEN      954/cwpsrv: master 
tcp        0      0 0.0.0.0:2096            0.0.0.0:*               LISTEN      954/cwpsrv: master 
tcp        0      0 0.0.0.0:465             0.0.0.0:*               LISTEN      1317/master         
tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN      1317/master         
tcp6       0      0 :::587                  :::*                    LISTEN      1317/master         
tcp6       0      0 :::465                  :::*                    LISTEN      1317/master         
tcp6       0      0 :::25                   :::*                    LISTEN      1317/master         
[root@vps ~]#
Title: Re: Open 465 port
Post by: studio4host on July 26, 2018, 06:52:53 AM
as you can see port 465 is up so this can be now only a firewall or network routing/NAT restriction.
Title: Re: Open 465 port
Post by: changlee on July 26, 2018, 07:16:52 AM
I received from Datacenter: "We don't block any port. It is possible to be a configuration problem in your firewall."

Have I somehow to exclude an account in order to use Port 465?
Title: Re: Open 465 port
Post by: studio4host on July 26, 2018, 07:30:24 AM
you can also try to disable firewall and try again

Code: [Select]
csf -x
Title: Re: Open 465 port
Post by: changlee on July 26, 2018, 07:47:07 AM
At my first message I wrote:

...But problem remains. And if I disable firewall again I receive:

Quote
Port 25 OK
Port 2525 OK
Port 587 OK
Port 465 not opened on your server errornum: 0 :
Title: Re: Open 465 port
Post by: studio4host on July 27, 2018, 11:48:58 AM
you need to check your network/routing or external firewall since on cwp/server all is fine