• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question Websites do not respond on port 80 but respond properly on port 7080

Raj

New Pleskian
According to this https://kb.plesk.com/en/119053 post the cause of this is: "The Nginx process was stopped on server." But in my case nginx is running properly.
Nginx is running in port 80 and 443.
Apache is running in 7080 and 7081.

Product version: Plesk Onyx 17.0.17
OS version: Ubuntu 14.04
 
Last edited:
Hi Raj,

looks like we both maybe have the same problems.

Can you take a look at your proxy_error_log and watch if there is something like this:

Code:
[error] 31323#0: *1 openat() "/var/www/vhosts/candypanda.io/httpdocs/favicon.ico" failed (13: Permission denied), client: 109.91.38.234, server: candypanda.io, request: "GET /favicon.ico HTTP/1.1", upstream: "https://62.141.41.27:7081/favicon.ico", host: "candypanda.io", referrer: "https://candypanda.io/"
 
Check, at least, that port 80 is not firewalled.
What is output of command

# lsof -i tcp:80

on your Plesk server?
 
@IgorG
output of lsof -i tcp:80

COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
nginx 24823 root 9u IPv4 63536 0t0 TCP philippelebac.cn:http (LISTEN)
nginx 24824 nginx 9u IPv4 63536 0t0 TCP philippelebac.cn:http (LISTEN)

FYI philippelebac.cn was hosted earlier in this server due to this problem i have moved it to another server.
Currenlty i have hosted plbht.ml website here for testing purpose.
 
Last edited:
@IgorG
# iptables -L output
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
 
Check that site is accessible from your internal network at least, from different places. Check your network configuration, routing, firewalls, etc. Check that other sites on this Plesk server can be opened.
Once again, if you talk about http://philippelebac.cn site - it is accessible from my workstation.
 
Any website hosting in this server is not working, having problem in all. I have tried another locations also. As i had already told that due to this server problem i have hosted philippelebac.cn in another server. thats why you and i am able to open that.
currently i have hosted plbht.ml in this server which is not opening in port 80 but opening in port 7080.
 
#netstat -ntlp | grep :80 output
tcp 0 0 222.73.236.48:80 0.0.0.0:* LISTEN 10345/nginx
 
I see that there is 400 Bad Request nginx error when I connect to port 80 of plbht.ml through telnet:


# telnet plbht.ml 80
Trying 222.73.236.48...
Connected to plbht.ml.
Escape character is '^]'.
quit
HTTP/1.1 400 Bad Request
Server: nginx
Date: Tue, 22 Nov 2016 09:33:48 GMT
Content-Type: text/html
Content-Length: 166
Connection: close

Looks like there is some kind of nginx customization/redirects/something else. Try to disable nginx temporary with

# /usr/local/psa/admin/sbin/nginxmng -d

and check result.
 
disabled nginx
restarted apache2

#netstat -ntlp | grep :80
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 11347/apache2

still not able to browse
 
Very strange error now:

# telnet plbht.ml 80
Trying 222.73.236.48...
Connected to plbht.ml.
Escape character is '^]'.
quit
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>501 Not Implemented</title>
</head><body>
<h1>Not Implemented</h1>
<p>quit to /index.html not supported.<br />
</p>
<hr>
<address>Apache Server at default Port 80</address>
</body></html>
Connection closed by foreign host.

Look at description - http://servererrorcodes.com/501-not-implemented/

Have you tried to run

# plesk repair web -y

at least?
 
yes i have done # plesk repair web -y and also # plesk repair all -y
still having same problem

nginx is still disabled
 
# telnet plbht.ml 80
Trying 222.73.236.48...
Connected to plbht.ml.
Escape character is '^]'.
quit
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>501 Not Implemented</title>
</head><body>
<h1>Not Implemented</h1>
<p>quit to /index.html not supported.<br />
</p>
<hr>
<address>Apache Server at default Port 80</address>
</body></html>
Connection closed by foreign host.


output of my telnet is also same from server ssh
 
Hi Raj,

... apart from the "501" - error, pls. note, that your standard Plesk - certificate is not even valid anymore: "Fri, 23 Sep 2016 10:16:12 UTC (expired 1 month and 29 days ago) EXPIRED". Consider to change the default certificate, according to:


Pls. note as well, that your reverse DNS - check of your IP "222.73.236.48" results in errors. Pls. see for example => https://www.dnswatch.info/dns/dnslookup?la=en&host=222.73.236.48&submit=Resolve / => http://viewdns.info/reversedns/?ip=222.73.236.48
 
Back
Top