Jump to content

Telnet Server Problem


Recommended Posts

Guest Alice Wei
Posted

Hi,

 

I am trying to execute some remote scripts through telnet, and I did

 

U:> http://www.mysite.com/calculate.php

 

This doesn't work though. This is what it brought back:

 

'http' is not recognized as an internal or external command, operable

program or batch file.

 

I then tried to telnet it, and then found out that it brought back

 

Could not open connection to the host, on post 23: Connect failed.

 

I had both servers, the local and the remote with port 23 opened on TCP.

Could there be anything I missed?

 

Thanks in advance.

  • Replies 1
  • Created
  • Last Reply

Popular Days

Guest Tim Slattery
Posted

Re: Telnet Server Problem

 

Alice Wei <AliceWei@discussions.microsoft.com> wrote:

>Hi,

>

> I am trying to execute some remote scripts through telnet, and I did

>

> U:> http://www.mysite.com/calculate.php

 

The first part of this URL specifies http, not telnet.

>

> This doesn't work though. This is what it brought back:

>

> 'http' is not recognized as an internal or external command, operable

>program or batch file.

 

Perfectly true, that's not a command.

>

> I then tried to telnet it, and then found out that it brought back

>

> Could not open connection to the host, on post 23: Connect failed.

 

So there's no telnet server there, evidently.

 

What are you trying to do? I'd guess you're trying to execute whatever

is at http://www.mysite.com/calculate.php, but wouldn't that be a server-side

script that results in a web page? You'd need to send an HTTP request

to invoke it, and you'd need an HTML renderer to see the result.

That's exactly what a web browser does.

>

> I had both servers, the local and the remote with port 23 opened on TCP.

 

I don't understand. Local and remote? You seem to be looking for a

server at http://www.mysite.com. Your results indicate there's no telnet

server there (no surprise), and the full URL indicates that you need

to use hypertext transfer protocol (HTTP).

 

--

Tim Slattery

MS MVP(Shell/User)

Slattery_T@bls.gov

http://members.cox.net/slatteryt


×
×
  • Create New...