On 10.08.2017 21:32, James H. H. Lampert wrote:
On 8/10/17, 12:02 PM, l...@kreuser.name wrote:
telnet <address> <port>, no “:" in between!

As a character that is one of Gilda Radner's most memorable legacies would say, 
"Oh.
That's very different."

Indeed. And kind of disorganised too..

quote
From my Mac:
(102 is the problem box. 105 is a WinDoze box that is completely reachable on 7070 throughout the LAN, running Tomcat without a default app, and 100 is an AS/400 that runs a service on 80, and serves a simple page, "there are no web pages here," on browser requests.)
unquote


New transcript:

Jamess-Mac-mini:~ jamesl$ telnet 192.168.1.100 80
Trying 192.168.1.100...
Connected to venus.
Escape character is '^]'.

Now you're supposed to enter (and it probably shows no echo, so blind) :

GET / HTTP/1.1<return>
Host: localhost<return>
<return>

and it will display something (your simple page, but raw)

>> ^]
telnet> ^C
Jamess-Mac-mini:~ jamesl$ man telnet
(good idea)

Jamess-Mac-mini:~ jamesl$ telnet 192.168.1.105 7070
Trying 192.168.1.105...
Connected to 192.168.1.105.
Escape character is '^]'.


same thing here, although without a default app, you may get a 404 error page

^]
telnet> ^C
Jamess-Mac-mini:~ jamesl$ telnet 192.168.102 8080

wrong IP..

Trying 192.168.0.102...
telnet: connect to address 192.168.0.102: Operation timed out
telnet: Unable to connect to remote host

Told ya. probably lost somewhere in the wrong network.

Jamess-Mac-mini:~ jamesl$ telnet europa 7070
Trying 192.168.1.102...
telnet: connect to address 192.168.1.102: Connection refused
telnet: Unable to connect to remote host

Ok, this is relevant to the issue at hand.
So indeed it appears (to the client) as if there is nothing listening on that 
host/port,
or there is something rejecting connections there.
Like a firewall or IPtables as someone suggested earlier.

A guess : the OS may be configured so that by default it blocks most incoming connection requests (to most ports), and only selectively enables a port when you install a service on it through the official package manager (because the official package also contains something to do that).
Lately, OS'es have a tendency to become paranoid like that..
(that's the fault of all them Russians trying to hack Americans, Ukrainians trying to hack Russians, American Democrats trying to hack Trump's Twitter account, American Republicans trying to hack the Democrats' email servers, North Koreans trying to hack Pakistanese, and Nigerians and Chinese trying to hack everyone)

try : iptables -L

and then : man iptables
(only for the brave)


Jamess-Mac-mini:~ jamesl$ telnet www.fountainpennetwork.com 80
Trying 69.16.229.207...
Connected to fountainpennetwork.com.
Escape character is '^]'.
^]
telnet> ^C


That's ok, but does not seem relevant.


--
JHHL

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to