22222 took too long to respond / This site can’t be reached

Hi there!

https://mysite.com:22222 does not load :frowning:

https://mysite.com runs fine! after creating test.mysite.com - it also runs fine.

My stack: Cloudflare - all default except “strict https” Digitalocean 512mb ram, 1 core VPS Ubuntu 16.04.01 LTS

Steps: apt-get update && apt-get upgrade wget -qO ee rt.cx/ee && sudo bash ee ee site create mysite.com --wpfc --letsencrypt --php7 (not sure if after that the 22222 worked) ee site create test.mysite.com --wpfc --php7 After that the 22222 definately does not work

Tried: “ee stack remove --admin & ee stack install --admin” - no effect Disabled the test subdomain - no effect

lsof -i :22222 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME nginx 6575 root 15u IPv4 65913 0t0 TCP *:22222 (LISTEN) nginx 20769 www-data 15u IPv4 65913 0t0 TCP *:22222 (LISTEN)

nginx nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) nginx: [emerg] bind() to 0.0.0.0:22222 failed (98: Address already in use) nginx: [emerg] bind() to [::]:80 failed (98: Address already in use) nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address already in use)

Any ideas what to dry?

Thanks!

Certainly there is a firewall blocking the port 22222. Either in your server or in your PC.

how could I confirm that? Thanks for the answer!

iptables -L 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

What firewall are you using?

Also, this probably will be of great help:

The steps I wrote in first post is all I’ve done. No customisation, everything defautl.

Guess that I use the default ubuntu iptables? :smiley:

“letmegooglethatforyou” - I exhausted all leads from google before posting here

Btw. I understood that EE is few commands and ready for production - this is actually not the case? One should also take care of security and such?

If not a firewall in your server, then it is a firewall in your PC. I already said that. :slight_smile:

BTW, if you could at least tell what site is yours, perhaps someone could try taking a look, but with all those secrets this possibility is inexistent.

on previous tests I could access 22222 just fine.

Also tested with Tor and with wget from the host server:

Connecting to xxx … :22222… failed: Connection timed out. |:22222… failed: Network is unreachable.

So It’s not PC firewall probably.

Btw. EE is not using the latest php7 version? Should one upgrate it?

Anyway, thanks for the help! I’ll try my luck with Trellis

PS: secrecy is OK imo for security purpose. Much easier to hack/target sites, if you know everything about the target. And as it’s default conf - what’s the difference which site it is? Thanks! :slight_smile:

Update:

I made a new server. Full log below:

apt-get update && apt-get upgrade wget -qO ee rt.cx/ee && sudo bash ee ee site create mysite.com --wpfc --letsencrypt --php7

after that, the mysite.com:22222 does not work. Should be a common error then?

I’m not much of an expert but I think you may have missed this step.

apt-get update && apt-get upgrade wget -qO ee rt.cx/ee && sudo bash ee

ee stack install --all

This outputs: ee stack install --all System RAM is less than 1GB Mail scanner packages are not going to install automatically PHP already installed MySQL connection is already alive Postfix is already installed WP-CLI is already installed Updating apt-cache, please wait... Installing packages, please wait... Downloading ViMbAdmin [Done] Downloading Roundcube [Done] Downloading phpMyAdmin [Done] Downloading Adminer [Done] Downloading phpMemcachedAdmin [Done] Downloading clean.php [Done] Downloading opcache.php [Done] Downloading Opgui [Done] Downloading OCP.php [Done] Downloading Webgrind [Done] Downloading pt-query-advisor [Done] Downloading Anemometer [Done] Restart : dovecot [OK] Reload : postfix [OK] Restart : dovecot [OK] Reload : nginx [OK] Reload : php5.6-fpm[OK] Reload : php7.0-fpm[OK] Reload : nginx [OK] Removing /var/www/roundcubemail/htdocs/installer

I think it just installs everything that EE engine CAN install. By default, EE installs only the things you need. Aka it just bloats the server :smiley:

:22222 still not working

try your.ip.address:22222

1 Like

it works! :o