The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

import-bot (20211) [Avatar] Offline
#1
[Originally posted by john]

Hi Ian

Please help! I have tried the following:
1. telnet jabber.org 5222
2. telnet localhost 5222 (after getting the chapter 03 server code running)

On my machine, Win XP, I use the console telnet application as above but then
immediately get a blank console screen. If i then type, I see none of my
characters appearing, just a blinking cursor moving along the screen. After a
while it seems i just get kicked off and my dos prompt appears again.

I have tried also using the netterm application (version 4.2) on jabber.org
port 5222 with the same results.

If I try telnet shigeoka.com 5222 I get this msg:

A connection attempt failed because the connected party did not properly
respond after a period of time, or established connection failed because
connected host has failed to respond.

Any ideas...much appreciated.

Thanks
John
import-bot (20211) [Avatar] Offline
#2
Re: Win XP Telnet blanks out
[Originally posted by john]

Hi Ian

Yeah, you were right on. It had to do with the echoing. With Microsoft Telnet
you use ctrl+] keystroke as the escape character to get into the command
interface of telnet once you are connected.

Much appreciated...thanks a million
import-bot (20211) [Avatar] Offline
#3
Re: Win XP Telnet blanks out
[Originally posted by iain.shigeoka]

> Hi Ian
>
> Please help! I have tried the following:
> 1. telnet jabber.org 5222
> 2. telnet localhost 5222 (after getting the chapter 03 server code running)
>
> On my machine, Win XP, I use the console telnet application as above but then
> immediately get a blank console screen. If i then type, I see none of my
> characters appearing, just a blinking cursor moving along the screen. After a
> while it seems i just get kicked off and my dos prompt appears again.

It sounds like your terminal program is not "echoing" your input to our
screen. So you'll only see the data that is sent to you, no that data you send
to the server. If you do use another terminal application, there is probably a
way to switch echoing on. The command line telnet application may also be able
to do this (try typing telnet /? or telnet -? or telnet -h or telnet /h). I
don't have Windows XP so can't verify if any of these will give you a list of
options.

if you do have a blank screen though, then telnet is properly connecting to
the host at the right port. Try typing the opening stream tag into notepad (or
any other text editor) and then pasting that into the telnet session and
hitting enter. you should see the server respond with it's opening stream tag.

> I have tried also using the netterm application (version 4.2) on jabber.org
> port 5222 with the same results.

Look for an option to turn echoing on. It will probably be in terminal
settings if there is such a thing (I haven't used netterm).

> If I try telnet shigeoka.com 5222 I get this msg:
>
> A connection attempt failed because the connected party did not properly
> respond after a period of time, or established connection failed because
> connected host has failed to respond.

There is no Jabber server running at shigeoka.com (I just used it in my
examples because I knew no one would complain about that being in there...in
retrospect I probably should have chosen a more generic address). So this is
the correct response because no server would respond. I suggest testing
against jabber.org.

Let me know if you still have trouble getting started.

-iain
import-bot (20211) [Avatar] Offline
#4
Re: Win XP Telnet blanks out
[Originally posted by micael]

On XP, "telnet -?h" (don't forget the "-") gives you the command line
options. However, that shows that the terminal options are vt100, vt52, ansi
and vtnt. I have tried them all and they do not echo input. Anyone have any
ideas on this? It would be nice to solve that?

> It sounds like your terminal program is not "echoing" your input to our
> screen. So you'll only see the data that is sent to you, no that data you send
> to the server. If you do use another terminal application, there is probably a
> way to switch echoing on. The command line telnet application may also be able
> to do this (try typing telnet /? or telnet -? or telnet -h or telnet /h). I
> don't have Windows XP so can't verify if any of these will give you a list of
> options.
>
> if you do have a blank screen though, then telnet is properly connecting to
> the host at the right port. Try typing the opening stream tag into notepad (or
> any other text editor) and then pasting that into the telnet session and
> hitting enter. you should see the server respond with it's opening stream
tag.
>
import-bot (20211) [Avatar] Offline
#5
Re: Win XP Telnet blanks out
[Originally posted by micael]

Oops, I should have read this first. Sorry. Ian, where did you get this
information? Thanks.
import-bot (20211) [Avatar] Offline
#6
Re: Win XP Telnet blanks out
[Originally posted by iain.shigeoka]

We'll have to hope that John answers. I didn't get the info so don't know the
right answer.