Page 1 of 1

Losing connection while accessing Web servers through telnet

Posted: Wed Jan 25, 2006 6:56 pm
by raghavan20
I am trying to run this but I lose my connection very early

Code: Select all

Start a DOS command prompt 
From the command prompt type 
telnet www.microsoft.com 80
Turn on localecho so you can see what you are doing. 
Type Ctrl+] (hold down the Ctrl key and press the right bracket) 
Type 
set localecho
Press Enter on a blank line 
type

GET / HTTP/1.1
Host: www.microsoft.com

Press Enter twice
Output from command line

Code: Select all

Welcome to Microsoft Telnet Client

Escape Character is 'CTRL+]'


Microsoft Telnet> set localecho
Local echo on
Microsoft Telnet> get h

Connection to host lost.

Posted: Wed Jan 25, 2006 8:04 pm
by Buddha443556
How about adding:

Code: Select all

Connection: Close
If that does not work then does a simple HTTP/1.0 GET work?

Posted: Thu Jan 26, 2006 4:34 am
by raghavan20
Buddha443556 wrote:How about adding:

Code: Select all

Connection: Close
If that does not work then does a simple HTTP/1.0 GET work?
I do not get what you are saying?
Where do you want to add that line?
What is the meaning of this line as well, "If that does not work then does a simple HTTP/1.0 GET work?"

Posted: Thu Jan 26, 2006 7:27 am
by Buddha443556
This would be the minimum needed for an HTTP/1.1 request:

Code: Select all

GET / HTTP/1.1
Host: www.microsoft.com
Connection: Close
The "Connection: Close" signal that the connection will be closed after completion of the response.

For a HTTP/1.0 request all you should need is:

Code: Select all

GET / HTTP/1.0
These both work for me with http://www.microsoft.com through Telnet.

Posted: Thu Jan 26, 2006 12:38 pm
by raghavan20

Code: Select all

Microsoft Telnet> get / http/1.1
Invalid Command. type ?/help for help
Microsoft Telnet> GET / HTTP/1.1
Invalid Command. type ?/help for help

Posted: Thu Jan 26, 2006 2:39 pm
by Chris Corbyn
raghavan20 wrote:

Code: Select all

Microsoft Telnet> get / http/1.1
Invalid Command. type ?/help for help
Microsoft Telnet> GET / HTTP/1.1
Invalid Command. type ?/help for help
You're getting that after connecting to the web server on port 80? :?

Code: Select all

d11wtq@w3style:~$ telnet www.microsoft.com 80
Trying 207.46.19.60...
Connected to lb1.www.ms.akadns.net.
Escape character is '^]'.
GET / HTTP/1.1
HOST: www.microsoft.com
Connection: close

HTTP/1.1 200 OK
Connection: close
Date: Thu, 26 Jan 2006 20:38:54 GMT
Server: Microsoft-IIS/6.0
P3P: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 22527

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >

<html dir="ltr" lang="en">
<head>
<META http-equiv="Content-Type" content="text/html; charset=utf-8" >
<!--TOOLBAR_EXEMPT-->
<meta http-equiv="PICS-Label" content="(PICS-1.1 "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0))" >
<meta name="KEYWORDS" content="products; headlines; downloads; news; Web site; what's new; solutions; services; software; contests; corporate news;" >
<meta name="DESCRIPTION" content="The entry page to Microsoft's Web site. Find software, solutions, answers, support, and Microsoft news." >
<meta name="MS.LOCALE" content="EN-US" >
<meta name="CATEGORY" content="home page" >
<title>Microsoft Corporation</title>
<base href="http://g.msn.com/mh_mshp/98765" >
<style type="text/css" media="all">
@import "http://i.microsoft.com/h/en-us/r/hp.css";
</style>
<script type="text/javascript" src="http://i2.microsoft.com/h/all/s/hp.js"></script>
<script type="text/javascript" src="http://i.microsoft.com/h/en-us/r/SiteRecruit_PageConfiguration_HomePage_Page.js"></script>
</head>
<body>
<script type="text/javascript">
<!--
var isW;isW=(document&&document.body.clientWidth&&document.body.clientWidth>=895&&document.getElementById);
//-->
</script>
<a href="http://www.microsoft.com/default.aspx#cArea" class="hide">Click here to jump to main page content</a>
<div id="dPage" class="page">
<table cellpadding="0" width="100%"><tr><td colspan="2">
<table cellpadding="0" width="100%" style="height: 22px"><tr>
<td width="50%" style="filter:progid:DXImageTransform.Microsoft.Gradient(startColorStr='#4B92D9', endColorStr='#CEDFF6', gradientType='1')"></td>
<td width="50%" style="filter:progid:DXImageTransform.Microsoft.Gradient(startColorStr='#CEDFF6', endColorStr='#1E77D3', gradientType='1')"></td>
</tr></table></td>
<td id="msviGlobalToolbar" height="22" nowrap align="left">
<table cellpadding="0"><tr>
<td class="gt0" nowrap onmouseover="this.className='gt1'" onmouseout="this.className='gt0'"><p><a href="?http://www.microsoft.com/worldwide&&HL=Microsoft%2bWorldwide&CM=Masthead&CE=geotargeting">Microsoft Worldwide</a></p></td>
<td class="gtsep">|</td>
<td class="gt0" nowrap onmouseover="this.className='gt1'" onmouseout="this.className='gt0'"><p><a href="?http://www.microsoft.com/library/toolbar/3.0/sitemap/en-us.mspx&&HL=Site+Map&CM=Masthead&CE=h">Site Map</a></p></td>
</tr>
</table></td></tr></table>
<table cellpadding="0" width="100%" bgcolor="#FFFFFF"><tr valign="top">
<td><script type="text/javascript">rT()</script><img alt="Microsoft" border="0" src="http://i2.microsoft.com/h/all/i/ms_masthead_8x6a_ltr.jpg"><!-- --><script type="text/javascript">wI("http://i.microsoft.com/h/all/i/ms_masthead_10x7a_ltr.jpg","Microsoft","","")</script></td>
<td id="msviDualGlobalSearch" bgcolor="#FFFFFF" nowrap><form id="msviDualSearchForm" action="http://www.microsoft.com/h/all/s/sr.aspx"><input type="hidden" name="Track" value="true"><input type="hidden" name="locale" value="en-us"><div><input name="qu" id="msviDualSearchBox" maxlength="255"><input id="msviSearchButton" type="submit" name="msviGoButton" value="Search"></div><div id="msviRadioButtons"><input type="radio" id="mscomSearch" checked name="searchTarget" value="microsoft"><label for="mscomSearch">Microsoft.com</label><input type="radio" id="msnSearch" name="searchTarget" value="msn"><label for="msnSearch"><img onClick="msnSearch.checked=true" src="http://i2.microsoft.com/h/en-us/i/msnlogo.gif" alt="MSN"> Web Search</label></div></form></td>
</tr></table>
<table id="tMain" class="main" cellpadding="0" width="100%"><tr valign="top">
<td id="NavTd" >
<div id="Nav"><h4>Product Families</h4><ul><li><a href="?http://www.microsoft.com/windows/default.mspx&&HL=Windows&CM=Navigation&CE=productFamilies">Windows</a></li><li><a href="?http://office.microsoft.com/home/default.aspx&&HL=Office&CM=Navigation&CE=productFamilies">Office</a></li><li><a href="?http://www.microsoft.com/windowsserversystem/default.mspx&&HL=Windows+Server+System&CM=Navigation&CE=productFamilies">Windows Server System</a></li><li><a href="?http://msdn.microsoft.com/&&HL=Developer+Tools&CM=Navigation&CE=productFamilies">Developer Tools</a></li><li><a href="?http://www.microsoft.com/businesssolutions/default.mspx&&HL=Business+Solutions&CM=Navigation&CE=productFamilies">Business Solutions</a></li><li><a href="?http://www.microsoft.com/games/default.aspx&&HL=Games+%26+Xbox&CM=Navigation&CE=productFamilies">Games & Xbox</a></li><li><a href="?http://www.msn.com&&HL=MSN&CM=Navigation&CE=productFamilies">MSN</a></li><li><a href="?http://www.microsoft.com/windowsmobile/default.mspx&&HL=Windows+Mobile&CM=Navigation&CE=productFamilies">Windows Mobile</a></li><li><a href="?http://go.microsoft.com/?LinkID=319190&&HL=All+Products&CM=Navigation&CE=productFamilies">All Products</a></li></ul><div class="line"></div><h4>Product Resources</h4><ul><li><a href="?http://www.microsoft.com/downloads/search.aspx&&HL=Downloads&CM=Navigation&CE=productResources">Downloads</a></li><li><a href="?http://update.microsoft.com/microsoftupdate/&&HL=Microsoft+Update&CM=Navigation&CE=productResources">Microsoft Update</a></li><li><a href="?http://office.microsoft.com/OfficeUpdate/default.aspx&&HL=Office+Update&CM=Navigation&CE=productResources">Office Update</a></li><li><a href="?http://www.microsoft.com/security/default.mspx&&HL=Security&CM=Navigation&CE=productResources">Security</a></li><li><a href="?http://www.microsoft.com/communities/default.mspx&&HL=Communities&CM=Navigation&CE=productResources">Communities</a></li><li><a href="?http://support.microsoft.com/&&HL=Support&CM=Navigation&CE=productResources">Support</a></li><li><a href="?http://www.microsoft.com/learning/default.asp&&HL=Learning+Tools&CM=Navigation&CE=productResources">Learning Tools</a></li><li><a href="?http://www.microsoft.com/events/default.mspx&&HL=Events+%26+Webcasts&CM=Navigation&CE=productResources">Events & Webcasts</a></li></ul><div class="line"></div><h4>Microsoft Worldwide</h4><ul><li><a href="?http://www.microsoft.com/worldwide&&HL=Microsoft%2bWorldwide&CM=Navigation&CE=geotargeting">Countries & Regions</a></li></ul><div class="line"></div></div>
<div class="ad"><script type="text/javascript">wrT()</script><a href="?http://www.microsoft.com/athome/security/protect/default.aspx&&HL=Protect+your+PC+in+3+steps&CM=Ad&CE=Ad"><img src="http://i.microsoft.com/h/en-us/i/Promo_PYPC4.gif" alt="Protect your PC in 3 steps"></a><!-- --><script type="text/javascript">var AdHtml='<iframe frameborder="0" scrolling="no" marginheight="0px" marginwidth="0px" allowtransparency="true" style="background:#F1F1F1" width="120" height="240" src="http://rad.microsoft.com/ADSAdClient31.dll?GetAd=&PG=CMSIE4&SC=F3&AP=1164"><'+'/iframe>';document.writeln(AdHtml);</script></div>
</td><td id="ca">
<a name="cArea"></a>
<div id="fa"><table cellpadding="0"><tr><td id="dFL" class="dFL"><script type="text/javascript">rT()</script><img src="http://i3.microsoft.com/h/en-us/i/gp_trial_2_8.jpg" alt="Order the 90-day trial of Microsoft Dynamics GP 9.0, the new version of Microsoft Great Plains" class="hhalf" usemap="#ThreePanelMap_One"><!-- --><script type="text/javascript">
<!--
wI("http://i3.microsoft.com/h/en-us/i/gp_trial_2_10.jpg","Order the 90-day trial of Microsoft Dynamics GP 9.0, the new version of Microsoft Great Plains","W","#ThreePanelMap_OneW")
//-->
</script></td><td id="dFS" class="dFS"><div id="dFS1" class="storyS" style="border-bottom:solid 1px #d2d3d6;"><script type="text/javascript">rT()</script><img src="http://i3.microsoft.com/h/en-us/i/TestDriveMediaCenter_4_8.jpg" alt="Test drive a Media Center PC today: Windows XP plus an amazing media experience" class="heroS" usemap="#ThreePanelMap_Two"><!-- --><script type="text/javascript">
<!--
wI("http://i3.microsoft.com/h/en-us/i/TestDriveMediaCenter_4_10.jpg","Test drive a Media Center PC today: Windows XP plus an amazing media experience","W","#ThreePanelMap_TwoW")
//-->
</script></div><div id="dFS2" class="storyS"><script type="text/javascript">rT()</script><img src="http://i3.microsoft.com/h/en-us/i/FutureOffice_4_8.jpg" alt="Preview the future Microsoft Office" class="heroS" usemap="#ThreePanelMap_Three"><!-- --><script type="text/javascript">
<!--
wI("http://i3.microsoft.com/h/en-us/i/FutureOffice_4_10.jpg","Preview the future Microsoft Office","W","#ThreePanelMap_ThreeW")
//-->
</script></div></td></tr></table></div><table cellpadding='0' id='nTable' class='nTable' dir='ltr'><tr><td width="1%" nowrap id="newsHeadlineTitleLTR">News</td><td id="newsHeadlineLTR"><a href="?http://www.microsoft.com/presspass/press/2006/jan06/01-25EUSourceCodePR.mspx&&HL=Microsoft+goes+beyond+EU+Decision%2c+offers+server+source+code&CM=News&CE=en-us">Microsoft goes beyond EU Decision, offers server source code</a></td></tr></table>

<table cellpadding="0">
<tr><td colspan="3" style="height: 1px; background: #d8d8bc;"></td></tr><tr><td colspan="3" style="height: 1px; background: #fff;"></td></tr>
<tr><td class="hFade"></td><td class="vSep"></td><td class="hFade"></td></tr>
<tr><td id="tdRotSec" class="rotatingSection">
<div class="r"><img src="http://i2.microsoft.com/h/en-us/r/popular_downloads.gif" alt="Popular Downloads" class="rh"><br><div class="s"><ul><li><a href="?http://www.microsoft.com/downloads/details.aspx?FamilyID=321cd7a2-6a57-4c57-a8bd-dbf62eda9671&displaylang=en&&HL=Windows+AntiSpyware+(Beta)&CM=PopularPicks&CE=popDownloads">Windows AntiSpyware (Beta)</a></li><li><a href="?http://www.microsoft.com/downloads/details.aspx?FamilyID=0b88ccbf-4c52-4347-aa71-87184a13ac1c&DisplayLang=en&&HL=MSN+Messenger+7.5&CM=PopularPicks&CE=popDownloads">MSN Messenger 7.5</a></li><li><a href="?http://www.microsoft.com/downloads/search.aspx?displaylang=en&&HL=More+Popular+Downloads&CM=PopularPicks&CE=popDownloads">More Popular Downloads</a></li></ul></div></div><div class="r"><img src="http://i.microsoft.com/h/en-us/r/popular_searches.gif" alt="Popular Searches" class="rh"><br><div class="s"><ul><li><a href="?http://search.microsoft.com/search/results.aspx?st=b&na=90&View=en-us&qu=Internet+Explorer&&HL=Internet+Explorer&CM=PopularPicks&CE=popSearches">Internet Explorer</a></li><li><a href="?http://search.microsoft.com/search/results.aspx?view=en-us&st=b&na=90&qu=Media+Player&&HL=Media+Player&CM=PopularPicks&CE=popSearches">Media Player</a></li><li><a href="?http://search.microsoft.com/search/results.aspx?st=b&na=90&View=en-us&qu=Xbox+360&&HL=Xbox+360&CM=PopularPicks&CE=popSearches">Xbox 360</a></li></ul></div></div><div class="r"><img src="http://i2.microsoft.com/h/en-us/r/support.gif" alt="Support" class="rh"><br><div class="s"><ul><li><a href="?http://support.microsoft.com/search/?adv=0&&HL=Knowledge+Base&CM=PopularPicks&CE=support">Knowledge Base</a></li><li><a href="?http://support.microsoft.com/sp&&HL=Service+Packs&CM=PopularPicks&CE=support">Service Packs</a></li><li><a href="?http://support.microsoft.com/select/?target=hub&&HL=Product+Solution+Centers&CM=PopularPicks&CE=support">Product Solution Centers</a></li></ul></div></div></td>
<td class="vSep"></td>
<td id="tdPopDest" class="popDest">
<div class="r"><img src="http://i.microsoft.com/h/en-us/r/popular_destinations.gif" alt="Popular Destinations" class="rh"><br><div class="s"><a href="?http://www.microsoft.com/athome/default.mspx&&HL=for+your+home&CM=Audiences&CE=forYourHome"><img src="http://i2.microsoft.com/h/en-us/r/for_your_home.gif" alt="for your home"></a><ul><li><a href="?http://www.microsoft.com/athome/default.mspx&&HL=At+Home&CM=Audiences&CE=forYourHome">At Home</a></li><li><a href="?http://www.microsoft.com/windowsxp/default.mspx&&HL=Windows+XP&CM=Audiences&CE=forYourHome">Windows XP</a></li><li><a href="?http://office.microsoft.com/clipart/default.aspx?CTT=6&Origin=EC790020111033&&HL=Clip+Art&CM=Audiences&CE=forYourHome">Clip Art</a></li><li><a href="?http://www.microsoft.com/resources/discover/default.mspx&&HL=Home+Software&CM=Audiences&CE=forYourHome">Home Software</a></li></ul></div><div class="s" id="dS2"><a href="?http://www.microsoft.com/atwork/default.mspx&&HL=for+your+job&CM=Audiences&CE=forYourJob"><img src="http://i.microsoft.com/h/en-us/r/for_your_job.gif" alt="for your job"></a><ul><li><a href="?http://www.microsoft.com/atwork/default.mspx&&HL=At+Work&CM=Audiences&CE=forYourJob">At Work</a></li><li><a href="?http://www.microsoft.com/office/editions/prodinfo/default.mspx&&HL=Office+2003+Editions&CM=Audiences&CE=forYourJob">Office 2003 Editions</a></li><li><a href="?http://office.microsoft.com/templates/&&HL=Templates&CM=Audiences&CE=forYourJob">Templates</a></li><li><a href="?http://www.microsoft.com/products/info/tscdefault.aspx?view=22&pcid=9d273393-92c9-4807-be9c-515a0d152415&&HL=Trial+Software&CM=Audiences&CE=forYourJob">Trial Software</a></li></ul></div><br id="br2"><div class="s" id="dS3" style="clear:left;"><a href="?http://www.microsoft.com/business/default.aspx&&HL=for+your+organization&CM=Audiences&CE=forYourOrg"><img src="http://i2.microsoft.com/h/en-us/r/for_your_organization.gif" alt="for your organization"></a><ul><li><a href="?http://www.microsoft.com/business/default.mspx&&HL=Business+%26+Industry&CM=Audiences&CE=forYourOrg">Business & Industry</a></li><li><a href="?http://www.microsoft.com/licensing/default.mspx&&HL=Volume+Licensing&CM=Audiences&CE=forYourOrg">Volume Licensing</a></li><li><a href="?http://www.microsoft.com/smallbusiness/hub.mspx&&HL=Small+Business+Center&CM=Audiences&CE=forYourOrg">Small Business Center</a></li><li><a href="?http://partner.microsoft.com/&&HL=Microsoft+Partners&CM=Audiences&CE=forYourOrg">Microsoft Partners</a></li></ul></div><br id="br3" class="hide"><div class="s" id="dS4"><a href="?http://www.microsoft.com/technet/default.mspx&&HL=for+IT+Pros&CM=Audiences&CE=forITPros"><img src="http://i.microsoft.com/h/en-us/r/for_ITpros.gif" alt="for IT Pros"></a><ul><li><a href="?http://www.microsoft.com/technet/default.mspx&&HL=TechNet&CM=Audiences&CE=forITPros">TechNet</a></li><li><a href="?http://www.microsoft.com/technet/security/default.mspx&&HL=Security+Center&CM=Audiences&CE=forITPros">Security Center</a></li><li><a href="?http://www.microsoft.com/sql/default.mspx&&HL=SQL+Server+2005&CM=Audiences&CE=forITPros">SQL Server 2005</a></li><li><a href="?http://www.microsoft.com/technet/scriptcenter/default.mspx&&HL=Script+Center&CM=Audiences&CE=forITPros">Script Center</a></li></ul></div><br id="br4"><div class="s" id="dS5" style="clear:left;"><a href="?http://msdn.microsoft.com/&&HL=for+developers&CM=Audiences&CE=forDevs"><img src="http://i2.microsoft.com/h/en-us/r/for_developers.gif" alt="for developers"></a><ul><li><a href="?http://msdn.microsoft.com&&HL=MSDN+Online&CM=Audiences&CE=forDevs">MSDN Online</a></li><li><a href="?http://msdn.microsoft.com/vstudio&&HL=Visual+Studio+2005&CM=Audiences&CE=forDevs">Visual Studio 2005</a></li><li><a href="?http://msdn.microsoft.com/howtobuy/subscribers/&&HL=Subscription+Information&CM=Audiences&CE=forDevs">Subscription Information</a></li><li><a href="?http://msdn.microsoft.com/practices&&HL=Patterns+%26+Practices&CM=Audiences&CE=forDevs">Patterns & Practices</a></li></ul></div><div class="s" id="dS6"><a href="?http://www.microsoft.com/mscorp/default.mspx&&HL=company+information&CM=Audiences&CE=companyInfo"><img src="http://i.microsoft.com/h/en-us/r/company_info.gif" alt="company information"></a><ul><li><a href="?http://www.microsoft.com/mscorp/default.mspx&&HL=About+Microsoft&CM=Audiences&CE=companyInfo">About Microsoft</a></li><li><a href="?http://www.microsoft.com/presspass/&&HL=For+Journalists&CM=Audiences&CE=companyInfo">For Journalists</a></li><li><a href="?http://www.microsoft.com/msft/default.mspx&&HL=Investor+Relations&CM=Audiences&CE=companyInfo">Investor Relations</a></li><li><a href="?http://www.microsoft.com/citizenship/default.mspx&&HL=Corporate+Citizenship&CM=Audiences&CE=companyInfo">Corporate Citizenship</a></li></ul></div></div>
<br clear="all"><div class="t">Last Updated: Wednesday, January 25, 2006 - 9:45 A.M. Pacific Time</div>
</td></tr></table>
</td></tr></table>
<table id="msviFooter" width="100%" cellpadding="0" cellspacing="0"><tr valign="bottom"><td id="msviFooter2">
<div id="msviLocalFooter"><span><a href="?http://go.microsoft.com/?linkid=317027&&HL=Manage+Your+Profile&CM=Footer&CE=h">Manage Your Profile</a> |</span><span><a href="?http://go.microsoft.com/?linkid=2028351&&HL=Contact+Us&CM=Footer&CE=h">Contact Us</a> |</span><span><a href="?http://www.microsoft.com/careers/default.mspx&&HL=Careers&CM=Footer&CE=h">Careers</a> |</span><span><a href="?http://www.microsoft.com/mscorp/legal/&&HL=Legal&CM=Footer&CE=h">Legal</a></span></div>
<div id="msviGlobalFooter">© 2006 Microsoft Corporation. All rights reserved. <span><a href="?http://www.microsoft.com/info/cpyright.mspx&&HL=Terms+of+Use&CM=Footer&CE=h">Terms of Use</a> |</span><span><a href="?http://www.microsoft.com/library/toolbar/3.0/trademarks/en-us.mspx&&HL=Trademarks&CM=Footer&CE=h">Trademarks</a> |</span><span><a href="?http://privacy.microsoft.com/en-us/default.aspx&&HL=Privacy+Statement&CM=Footer&CE=h">Privacy Statement</a></span></div>
</td></tr></table>
</div>
<map name="ThreePanelMap_One"><area shape="rect" alt="Order the 90-day trial of Microsoft Dynamics GP 9.0, the new version of Microsoft Great Plains" coords="0,0,295,305" href="?http://www.microsoft.com/BusinessSolutions/GreatPlains/default.mspx&&HL=Order+the+90-day+trial+of+Microsoft+Dynamics+GP+9.0%2c+the+new+version+of+Microsoft+Great+Plains&CM=Features&CE=FeatureGraphicOne"></map><map name="ThreePanelMap_OneW"><area shape="rect" alt="Order the 90-day trial of Microsoft Dynamics GP 9.0, the new version of Microsoft Great Plains" coords="0,0,407,419" href="?http://www.microsoft.com/BusinessSolutions/GreatPlains/default.mspx&&HL=Order+the+90-day+trial+of+Microsoft+Dynamics+GP+9.0%2c+the+new+version+of+Microsoft+Great+Plains&CM=Features&CE=FeatureGraphicOne"></map><map name="ThreePanelMap_Two"><area shape="rect" alt="Test drive a Media Center PC today: Windows XP plus an amazing media experience" coords="0,0,295,152" href="?http://www.microsoft.com/windowsxp/mediacenter/evaluation/hardware.mspx&&HL=Test+drive+a+Media+Center+PC+today%3a+Windows+XP+plus+an+amazing+media+experience&CM=Features&CE=h"></map><map name="ThreePanelMap_TwoW"><area shape="rect" alt="Test drive a Media Center PC today: Windows XP plus an amazing media experience" coords="0,0,407,209" href="?http://www.microsoft.com/windowsxp/mediacenter/evaluation/hardware.mspx&&HL=Test+drive+a+Media+Center+PC+today%3a+Windows+XP+plus+an+amazing+media+experience&CM=Features&CE=h"></map><map name="ThreePanelMap_Three"><area shape="rect" alt="Preview the future Microsoft Office" coords="0,0,295,152" href="?http://www.microsoft.com/office/preview/default.mspx&&HL=Preview+the+future+Microsoft+Office&CM=Features&CE=h"></map><map name="ThreePanelMap_ThreeW"><area shape="rect" alt="Preview the future Microsoft Office" coords="0,0,407,209" href="?http://www.microsoft.com/office/preview/default.mspx&&HL=Preview+the+future+Microsoft+Office&CM=Features&CE=h"></map>
<script type="text/javascript">
<!--
if(isW){w(e("al"));w(e("tMain"));w(e("dPage"));w(e("re"));w(e("tdRotSec"));w(e("tdPopDest"));w(e("dFL"));w(e("dFS"));w(e("dFS1"));w(e("dFS2"));w(e("nTable"));recW(e("fa"));e("dS3").style.clear="none";e("dS5").style.clear="none";e("dS4").style.clear="left";rE("br2");rE("br4");e("br3").className="";}
//-->
</script><div style="display:none" id="WebMetrixDiv">
<script type="text/javascript">
<!--
var wmGif='<'+'img width="0" height="0" alt="" src="http://c.microsoft.com'+'/trans_pixel.asp?source=www&TYPE=PV&P=';if(''!=window.document.referrer){wmGif=wmGif+"&r="+escape(window.document.referrer);}wmGif=wmGif+'"/>';document.writeln(wmGif);
//-->
</script></div><div style="display:none" id="IDSSDiv">
<script type="text/javascript">
<!--
var msnGif='<'+'img width="0" height="0" alt="" src="http://c1.microsoft.com'+'/c.gif?DI=4050&PS=81555&PI=40472&TP=http%3a%2f%2fwww.microsoft.com&RF='+escape(window.document.referrer)+'">';document.writeln(msnGif);
//-->
</script></div>
<SCRIPT LANGUAGE="Javascript1.2" TYPE="text/javascript"><!--
var RE={"%09":/\t/g,"%20":/ /g,"%23":/\#/g,"%26":/\&/g,"%2B":/\+/g,"%3F":/\?/g,"%5C":/\\/g};
//-->
</SCRIPT>
<SCRIPT LANGUAGE="Javascript1.3" TYPE="text/javascript"><!--
if(window.ActiveXObject){var gFV="";for(var gVer=2;gVer<=10;gVer++){try{var gFlash=eval("new ActiveXObject('ShockwaveFlash.ShockwaveFlash."+gVer+"');");if(gFlash){gFV=gVer+".0";break;}}catch(e){}}}
//-->
</SCRIPT>
<SCRIPT TYPE="text/javascript"><!--
var gDomain="statse.webtrendslive.com";var gDcsId="dcszp7e1v10000omp5r9bmtnv_1o4g";var gFpc="WT_FPC";var gConvert=true;if((typeof(gConvert)!="undefined")&&gConvert&&(document.cookie.indexOf(gFpc+"=")==-1)){document.write("<SCR"+"IPT TYPE='text/javascript' SRC='"+"http"+(window.location.protocol.indexOf('https:')==0?'s':'')+"://"+gDomain+"/"+gDcsId+"/wtid.js"+"'><\/SCR"+"IPT>");}
//-->
</SCRIPT>
<SCRIPT SRC="http://i2.microsoft.com/h/all/s/webtrends.js" TYPE="text/javascript"></SCRIPT>

</body></html>Connection closed by foreign host.
d11wtq@w3style:~$

Posted: Thu Jan 26, 2006 4:05 pm
by raghavan20

Code: Select all

httcome to Microsoft Telnet Client
Microsoft Telnet> get / http/1.1
Invalid Command. type ?/help for help
Microsoft Telnet> GET / HTTP/1.1
Invalid Command. type ?/help for help
Microsoft Telnet> HOST: WWW.MICROSOFT.COM
Invalid Command. type ?/help for help
Microsoft Telnet> GET
Invalid Command. type ?/help for help

Posted: Thu Jan 26, 2006 4:27 pm
by duk
raghavan20 wrote:

Code: Select all

httcome to Microsoft Telnet Client
Microsoft Telnet> get / http/1.1
Invalid Command. type ?/help for help
Microsoft Telnet> GET / HTTP/1.1
Invalid Command. type ?/help for help
Microsoft Telnet> HOST: WWW.MICROSOFT.COM
Invalid Command. type ?/help for help
Microsoft Telnet> GET
Invalid Command. type ?/help for help
is saying when you are connected to the server raghavan20 after that you do the connection close, not in the telnet prompt...