PDA

View Full Version : Telnet info



pal
10-28-2005, 02:27 PM
whenever i run telnet and try and conneect to a IP address on like any port it always says connecting ipadress ... Could not open connection to the host, on port number.
connection failed

help please how can i connect to them?

SyntaXmasteR
10-28-2005, 05:52 PM
You cant unless they have that port listening and accepting incoming connections.

Ex: mobile.mycingular.net has telnet enabled and is listening on port 25 for their text messaging service.

You can connect to the server via telnet and send text messages from ANYONE to ANYONE@cingular. Here is an example:



telnet mobile.mycingular.net 25
helo MyCingular
mail from:anything@validdomain.com
rcpt to:whoever@mobile.mycingular.net
data
subject:subjectgoeshere
(two hard returns)
bodyofmessage
.
quit

Each new line means there was a hard return given...