Topic: Iredadmin Won't Open
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.99
- Deployed with iRedMail Easy or the downloadable installer? option 2
- Linux/BSD distribution name and version: Ubuntu 18.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
I installed iredmail on my Ubuntu docker container. Everything looks good, except I can't open iredadmin page.
The browser shows 502 Bad Gateway.
Ngnix error.log
2019/01/23 12:10:40 [error] 2005#2005: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 172.17.0.1, server: _, request: "GET /iredadmin HTTP/1.1", upstream: "uwsgi://127.0.0.1:7791", host: "10.1.2.5:4443"
2019/01/23 12:10:42 [error] 2005#2005: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 172.17.0.1, server: _, request: "GET /iredadmin HTTP/1.1", upstream: "uwsgi://127.0.0.1:7791", host: "10.1.2.5:4443"
All opening ports
# ss -lntpu
Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port
tcp LISTEN 0 100 127.0.0.1:7790 0.0.0.0:* users:(("uwsgi",pid=696,fd=6),("uwsgi",pid=695,fd=6),("uwsgi",pid=694,fd=6),("uwsgi",pid=693,fd=6),("uwsgi",pid=692,fd=6),("uwsgi",pid=678,fd=6))
tcp LISTEN 0 100 0.0.0.0:110 0.0.0.0:* users:(("dovecot",pid=520,fd=26))
tcp LISTEN 0 128 127.0.0.1:9999 0.0.0.0:* users:(("php-fpm7.2",pid=1024,fd=6),("php-fpm7.2",pid=1023,fd=6),("php-fpm7.2",pid=1021,fd=8))
tcp LISTEN 0 128 0.0.0.0:143 0.0.0.0:* users:(("dovecot",pid=520,fd=41))
tcp LISTEN 0 128 0.0.0.0:80 0.0.0.0:* users:(("nginx",pid=2005,fd=7),("nginx",pid=2003,fd=7))
tcp LISTEN 0 128 127.0.0.1:24242 0.0.0.0:* users:(("dovecot",pid=520,fd=19))
tcp LISTEN 0 100 127.0.0.1:24 0.0.0.0:* users:(("lmtp",pid=534,fd=9),("lmtp",pid=533,fd=9),("lmtp",pid=532,fd=9),("lmtp",pid=531,fd=9),("lmtp",pid=527,fd=9),("dovecot",pid=520,fd=31))
tcp LISTEN 0 100 0.0.0.0:25 0.0.0.0:* users:(("master",pid=1685,fd=11))
tcp LISTEN 0 128 0.0.0.0:443 0.0.0.0:* users:(("nginx",pid=2005,fd=6),("nginx",pid=2003,fd=6))
tcp LISTEN 0 100 127.0.0.1:4190 0.0.0.0:* users:(("dovecot",pid=520,fd=14))
tcp LISTEN 0 5 127.0.0.1:7777 0.0.0.0:* users:(("python",pid=671,fd=3))
tcp LISTEN 0 128 0.0.0.0:993 0.0.0.0:* users:(("dovecot",pid=520,fd=42))
tcp LISTEN 0 100 0.0.0.0:995 0.0.0.0:* users:(("dovecot",pid=520,fd=27))
tcp LISTEN 0 100 127.0.0.1:10025 0.0.0.0:* users:(("master",pid=1685,fd=125))
tcp LISTEN 0 80 127.0.0.1:3306 0.0.0.0:* users:(("mysqld",pid=864,fd=76))
tcp LISTEN 0 100 0.0.0.0:587 0.0.0.0:* users:(("master",pid=1685,fd=113))
tcp LISTEN 0 100 127.0.0.1:10028 0.0.0.0:* users:(("master",pid=1685,fd=128))
There's no 7791 opened. How can I find out what's going on? Thanks.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.