Skip to main content
Fixed formatting
Source Link
RalfFriedl
  • 9.2k
  • 6
  • 26
  • 34

i have a Linux Ubuntu 12.04.3 LTS with Elastic Search installed. the Elastic Search is configured to accept the local requests via HTTP. i have a php website on the same server. it was on port 80 but it is required to use HTTPS on port 443.

i am having problem configuring the firewall/iptables to make port 443 available.

tried: sudo ufw allow https

sudo ufw allow https

but it still shows inactive on the status: sudo ufw status verbose #Status: inactive

#Status: inactive

also tried to add port 443 to the iptables, but made no difference afterwards: iptables -A INPUT -p tcp -m tcp --dport 443 -j ACCEPT

iptables -A INPUT -p tcp -m tcp --dport 443 -j ACCEPT

netstat does show 443 is listening to apache. netstat -ntlp | grep LISTEN tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 30542/apache2

netstat -ntlp | grep LISTEN
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 30542/apache2

when i test the site, it shows "The connection has timed out" err, also tried curl cmd on the server, same result. and nothing appeared on the access or error logs.

help to provide the website urls but privately.

any helps, comments, tips will be much appreciated!

Shizhen

i have a Linux Ubuntu 12.04.3 LTS with Elastic Search installed. the Elastic Search is configured to accept the local requests via HTTP. i have a php website on the same server. it was on port 80 but it is required to use HTTPS on port 443.

i am having problem configuring the firewall/iptables to make port 443 available.

tried: sudo ufw allow https

but it still shows inactive on the status: sudo ufw status verbose #Status: inactive

also tried to add port 443 to the iptables, but made no difference afterwards: iptables -A INPUT -p tcp -m tcp --dport 443 -j ACCEPT

netstat does show 443 is listening to apache. netstat -ntlp | grep LISTEN tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 30542/apache2

when i test the site, it shows "The connection has timed out" err, also tried curl cmd on the server, same result. and nothing appeared on the access or error logs.

help to provide the website urls but privately.

any helps, comments, tips will be much appreciated!

Shizhen

i have a Linux Ubuntu 12.04.3 LTS with Elastic Search installed. the Elastic Search is configured to accept the local requests via HTTP. i have a php website on the same server. it was on port 80 but it is required to use HTTPS on port 443.

i am having problem configuring the firewall/iptables to make port 443 available.

tried:

sudo ufw allow https

but it still shows inactive on the status: sudo ufw status verbose

#Status: inactive

also tried to add port 443 to the iptables, but made no difference afterwards:

iptables -A INPUT -p tcp -m tcp --dport 443 -j ACCEPT

netstat does show 443 is listening to apache.

netstat -ntlp | grep LISTEN
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 30542/apache2

when i test the site, it shows "The connection has timed out" err, also tried curl cmd on the server, same result. and nothing appeared on the access or error logs.

help to provide the website urls but privately.

any helps, comments, tips will be much appreciated!

Source Link

Open Port443 on Linux Ubuntu 12.04

i have a Linux Ubuntu 12.04.3 LTS with Elastic Search installed. the Elastic Search is configured to accept the local requests via HTTP. i have a php website on the same server. it was on port 80 but it is required to use HTTPS on port 443.

i am having problem configuring the firewall/iptables to make port 443 available.

tried: sudo ufw allow https

but it still shows inactive on the status: sudo ufw status verbose #Status: inactive

also tried to add port 443 to the iptables, but made no difference afterwards: iptables -A INPUT -p tcp -m tcp --dport 443 -j ACCEPT

netstat does show 443 is listening to apache. netstat -ntlp | grep LISTEN tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 30542/apache2

when i test the site, it shows "The connection has timed out" err, also tried curl cmd on the server, same result. and nothing appeared on the access or error logs.

help to provide the website urls but privately.

any helps, comments, tips will be much appreciated!

Shizhen