PDA

View Full Version : Telnet on XP


francis
31st Dec 2003, 10:09 pm
Has anyone got any experience in telnetting on XP? I've got a couple of books that seem to say that all I have to do is:

command prompt (or start>run)
then type something like
telnet www.websitearchitecture.co.uk 80
No matter what I try, I get nothing back - just a blank command prompt that shuts down why you click on it after a couple of minutes. I've tried turning off my firewall and several sites (including 127.0.0.1), but nothing seems to work. Pinging works fine. Googling doesn't bring up anything too useful.

Phil
3rd Jan 2004, 02:44 pm
Yeah, I messed around with this for a bit. You need to construct and type in some valid HTTP (e.g "GET /" in uppercase). Sometimes need to hit return twice. Can be a bit laborious, especially as on Windoze telnet you can't actually see what you're typing.

I've found an easier way to do it is to use the Browse Web function of Sam Spade; it does a text browse and shows up the raw http - headers and body - rather than actually rendering the page.

-phil

francis
3rd Jan 2004, 03:14 pm
Have you got Sam Spade running on XP Pro? It says it works on Win 2000, so I suppose it should be okay.

Phil
3rd Jan 2004, 04:29 pm
01/03/04 16:27:36 Browsing http://websitearchitecture.co.uk/forum/ind...stopic&c=83 (http://websitearchitecture.co.uk/forum/index.php?v=stopic&c=83)
Fetching http://websitearchitecture.co.uk/forum/ind...stopic&c=83 (http://websitearchitecture.co.uk/forum/index.php?v=stopic&c=83) ...
GET /forum/index.php?v=stopic&c=83 HTTP/1.1
Host: websitearchitecture.co.uk
Connection: close
User-Agent: Sam Spade 1.14

HTTP/1.1 401 Authorization Required
Date: Sat, 03 Jan 2004 16:27:38 GMT
Server: Apache/1.3.27
WWW-Authenticate: Basic realm="protected access"
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html; charset=iso-8859-1

---yep! works on XP Pro!