Telnet Server Problem

A

Alice Wei

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.
 
T

Tim Slattery

Alice Wei said:
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 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 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).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top