Estou usando o Ubuntu 16.04 como servidor.
my@wwwui:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.1 LTS"
A porta é aberta assim.
my@wwwui:~$ sudo ufw status
Status: active
To Action From
-- ------ ----
80 ALLOW Anywhere
22 ALLOW Anywhere
80 (v6) ALLOW Anywhere (v6)
22 (v6) ALLOW Anywhere (v6)
e o apache está corretamente iniciado e obtém index.html.
my@wwwui:~$ wget localhost
--2017-08-11 22:13:29-- http://localhost/
Resolving localhost (localhost)... 127.0.0.1, ::1
Connecting to localhost (localhost)|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 11321 (11K) [text/html]
Saving to: ‘index.html.1’
index.html.1 100%[=================================================================================================>] 11.06K --.-KB/s in 0s
2017-08-11 22:13:29 (175 MB/s) - ‘index.html.1’ saved [11321/11321]
No entanto, o telnet é recusado no meu computador local.
mylocal$ telnet jp.mine.jp 80
Trying 133.242.***.***...
telnet: connect to address 133.242.***.***: Connection refused
telnet: Unable to connect to remote host
Existe algum lugar para verificar ???
Tags ubuntu apache-http-server