the working of iptables and not able to bind to port

info at dutondata.com info at dutondata.com
Mon Aug 1 14:11:02 UTC 2022


Hello,

Sorry if this is not the right place to ask.

I have two peoblems with Ubuntu those are:

1) Iptables 
	when make the rule:
iptables -A INPUT -s 61.177.0.0/24 -p tcp -m multiport --dport 1024:65535 -j DROP
I still see in the log files:
Aug  1 16:01:11 openbravo sshd[22508]: Failed password for root from 61.177.173.50 port 
26242 ssh2
Aug  1 16:01:15 openbravo sshd[22508]: Failed password for root from 61.177.173.50 port 
26242 ssh2
Aug  1 16:01:16 openbravo sshd[22508]: Received disconnect from 61.177.173.50 port 
26242:11:  [preauth]

For me it means that IPtables is capable to protect my server as it has to be

2) NGINX 
	when starting NGINX I get:
Aug  1 14:46:13 openbravo nginx[7610]: nginx: [emerg] bind() to 0.0.0.0:443 failed (98: 
Address already in use)
Aug  1 14:46:13 openbravo nginx[7610]: nginx: [emerg] bind() to [::]:443 failed (98: Address 
already in use)
This multiple times

Checking if there is any application is using this port, I found none.
there is no 0.0.0.0:443 listening and to be sure I removed all websites from sites-enabled 
and tried to start NGINX with the same bind error.

I have one config file in /etc/nginx/conf.d/ in where listen 443 ssl; is mentioned.

I hope you can help me.

With friendly regards,

Ronald



More information about the Ubuntu-quality mailing list