How to open a port?

Mario Vukelic mario.vukelic at dantian.org
Sun Jun 11 19:08:15 UTC 2006


On Sun, 2006-06-11 at 19:55 +0100, Daniel Carrera wrote:
> I think that Edubuntu doesn't have a telnet server.

Not needed you use telnet to connect to X at port 6000. Basically every
server can be accessed by telnet. You can telnet to a webserver. read
the site that way, and parse the HTML in your head ;)

>  But connecting to 
> port 6000 gives a different result than connecting to another port. It
> says:
> 
> $ telnet 192.168.17.1 6000
> Trying 192.168.17.1...
> Connected to 192.168.17.1.
> Escape character is '^]'.

This is good, you _can connect. Pressing Ctrl+] at this point enters
command mode. ("^" means Ctrl)

> And then it says there for a while and then quits.

Timeout

> I guess that this means that one *can* connect to the server through 
> port 6000? (even if telnet itself is not running on that port). 

Exactly, see above. You are talking to the X server (or whatever server
you telnetted to. As an example, see hot to talk to an SMTP server over
telnet: http://www.yuki-onna.co.uk/email/smtp.html





More information about the ubuntu-users mailing list