getting issue when I try to connect with NASL localhost [closed]












1















when I'm trying to connect with NASL using telnet, the connection is getting closed. here is the command and the response which I got.



ubuntu-64-sumit@ubuntu-64-sumit:~$ telnet 192.168.20.8 80
Trying 192.168.20.8...
Connected to 192.168.20.8.
Escape character is '^]'.
Connection closed by foreign host.


Please let me know how can I connect on this Ip address with port 80



After '^]'. I just write "GET / HTTP/1.0" and hit the enter key 2 times and I got this xml



ubuntu-64-sumit@ubuntu-64-sumit:~$ telnet 192.168.20.8 80
Trying 192.168.20.8...
Connected to 192.168.20.8.
Escape character is '^]'.
GET / HTTP/1.0

HTTP/1.1 504 Connection to server timed out
Date: Thu, 31 Jan 2019 04:22:40 GMT
Cache-Control: no-cache
Pragma: no-cache
Content-Type: text/html; charset="UTF-8"
Content-Length: 2497
Accept-Ranges: none
Connection: close

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>The requested URL could not be retrieved</title>
<link href="http://passthrough.fw-notify.net/static/default.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="http://passthrough.fw-notify.net/static/default.js"></script>
</head>
<body onload="checkResize();">
<div id="emsg_large"></div>
<div id="page">
<div id="header">
<div><img src="http://passthrough.fw-notify.net/static/topbar_left.png" width="6" height="72" border="0" /></div>
<div id="company_logo"><img src="http://passthrough.fw-notify.net/static/logo.png" border="0" /></div>
<div id="company_text"><h1 class="orange">M U S I K A A R</h1></div>
<div><img src="http://passthrough.fw-notify.net/static/topbar_right.png" width="6" height="72" border="0" /></div>
</div>
<br class="clearer" />

<div id="content">
<img src="http://passthrough.fw-notify.net/static/warning.png" border="0" align="left" />
<h1 class="orange">An error occurred while handling your request</h1>

<div class="line">
<div class="label">While trying to retrieve the URL:</div>
<div class="desc">
<span>http://192.168.20.8/</span>
</div>
</div>

<div class="line">
<div class="label">The content could not be delivered due to the following condition:</div>
<div class="desc">
Connection to server timed out
</div>
</div>

<div class="line">
<div class="label">Your cache administrator is:</div>
<div class="desc">
nilang_shastri@Musikaar.com
</div>
</div>
<br class="clearer" />
</div> <!-- END: div#content -->
<br class="clearer" />

<div id="footer">
<div><a href="http://www.sophos.com" target="_blank" title="Sophos"><img src="http://passthrough.fw-notify.net/static/footer_left.png" width="136" height="33" border="0" /></a></div>
<div class="orange" id="copyright">Powered by UTM Web Protection</div>
<div><img src="http://passthrough.fw-notify.net/static/footer_right.png" width="6" height="33" border="0" /></div>
</div> <!-- END: div#footer -->
</div> <!-- END: div#page -->
</body>
</html>
Connection closed by foreign host.









share|improve this question















closed as unclear what you're asking by Rui F Ribeiro, Thomas, Jeff Schaller, Mr Shunz, Christopher Jan 30 at 21:03


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.



















  • "not that way"? What's NASL if it's not the North American Soccer League? Port 80 is typically web traffic; did you try sending any HTTP commands, or was the connection closed immediately?

    – Jeff Schaller
    Jan 30 at 12:08











  • @JeffSchaller NASL is basicaly Nessus Attack Scripting Langauge

    – Sumit Srivastava
    Jan 30 at 15:34











  • After '^]'. just write "GET / HTTP/1.0" and hit the enter key 2 times.

    – Christopher
    Jan 30 at 21:03











  • @Christopher still the connection is closed by foreign host. but now it shows some xml. Please check the xml in question above:

    – Sumit Srivastava
    Jan 31 at 4:23













  • That's HTML, and the Web server on port 80 did exactly what it is supposed to do: it spit out the default html document and closed the connection. That's what happens with a Web browser as well. Congratulations. You used telnet to connect to port 80. The question is no longer about using telnet to connect to a port.

    – Christopher
    Jan 31 at 11:16


















1















when I'm trying to connect with NASL using telnet, the connection is getting closed. here is the command and the response which I got.



ubuntu-64-sumit@ubuntu-64-sumit:~$ telnet 192.168.20.8 80
Trying 192.168.20.8...
Connected to 192.168.20.8.
Escape character is '^]'.
Connection closed by foreign host.


Please let me know how can I connect on this Ip address with port 80



After '^]'. I just write "GET / HTTP/1.0" and hit the enter key 2 times and I got this xml



ubuntu-64-sumit@ubuntu-64-sumit:~$ telnet 192.168.20.8 80
Trying 192.168.20.8...
Connected to 192.168.20.8.
Escape character is '^]'.
GET / HTTP/1.0

HTTP/1.1 504 Connection to server timed out
Date: Thu, 31 Jan 2019 04:22:40 GMT
Cache-Control: no-cache
Pragma: no-cache
Content-Type: text/html; charset="UTF-8"
Content-Length: 2497
Accept-Ranges: none
Connection: close

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>The requested URL could not be retrieved</title>
<link href="http://passthrough.fw-notify.net/static/default.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="http://passthrough.fw-notify.net/static/default.js"></script>
</head>
<body onload="checkResize();">
<div id="emsg_large"></div>
<div id="page">
<div id="header">
<div><img src="http://passthrough.fw-notify.net/static/topbar_left.png" width="6" height="72" border="0" /></div>
<div id="company_logo"><img src="http://passthrough.fw-notify.net/static/logo.png" border="0" /></div>
<div id="company_text"><h1 class="orange">M U S I K A A R</h1></div>
<div><img src="http://passthrough.fw-notify.net/static/topbar_right.png" width="6" height="72" border="0" /></div>
</div>
<br class="clearer" />

<div id="content">
<img src="http://passthrough.fw-notify.net/static/warning.png" border="0" align="left" />
<h1 class="orange">An error occurred while handling your request</h1>

<div class="line">
<div class="label">While trying to retrieve the URL:</div>
<div class="desc">
<span>http://192.168.20.8/</span>
</div>
</div>

<div class="line">
<div class="label">The content could not be delivered due to the following condition:</div>
<div class="desc">
Connection to server timed out
</div>
</div>

<div class="line">
<div class="label">Your cache administrator is:</div>
<div class="desc">
nilang_shastri@Musikaar.com
</div>
</div>
<br class="clearer" />
</div> <!-- END: div#content -->
<br class="clearer" />

<div id="footer">
<div><a href="http://www.sophos.com" target="_blank" title="Sophos"><img src="http://passthrough.fw-notify.net/static/footer_left.png" width="136" height="33" border="0" /></a></div>
<div class="orange" id="copyright">Powered by UTM Web Protection</div>
<div><img src="http://passthrough.fw-notify.net/static/footer_right.png" width="6" height="33" border="0" /></div>
</div> <!-- END: div#footer -->
</div> <!-- END: div#page -->
</body>
</html>
Connection closed by foreign host.









share|improve this question















closed as unclear what you're asking by Rui F Ribeiro, Thomas, Jeff Schaller, Mr Shunz, Christopher Jan 30 at 21:03


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.



















  • "not that way"? What's NASL if it's not the North American Soccer League? Port 80 is typically web traffic; did you try sending any HTTP commands, or was the connection closed immediately?

    – Jeff Schaller
    Jan 30 at 12:08











  • @JeffSchaller NASL is basicaly Nessus Attack Scripting Langauge

    – Sumit Srivastava
    Jan 30 at 15:34











  • After '^]'. just write "GET / HTTP/1.0" and hit the enter key 2 times.

    – Christopher
    Jan 30 at 21:03











  • @Christopher still the connection is closed by foreign host. but now it shows some xml. Please check the xml in question above:

    – Sumit Srivastava
    Jan 31 at 4:23













  • That's HTML, and the Web server on port 80 did exactly what it is supposed to do: it spit out the default html document and closed the connection. That's what happens with a Web browser as well. Congratulations. You used telnet to connect to port 80. The question is no longer about using telnet to connect to a port.

    – Christopher
    Jan 31 at 11:16
















1












1








1








when I'm trying to connect with NASL using telnet, the connection is getting closed. here is the command and the response which I got.



ubuntu-64-sumit@ubuntu-64-sumit:~$ telnet 192.168.20.8 80
Trying 192.168.20.8...
Connected to 192.168.20.8.
Escape character is '^]'.
Connection closed by foreign host.


Please let me know how can I connect on this Ip address with port 80



After '^]'. I just write "GET / HTTP/1.0" and hit the enter key 2 times and I got this xml



ubuntu-64-sumit@ubuntu-64-sumit:~$ telnet 192.168.20.8 80
Trying 192.168.20.8...
Connected to 192.168.20.8.
Escape character is '^]'.
GET / HTTP/1.0

HTTP/1.1 504 Connection to server timed out
Date: Thu, 31 Jan 2019 04:22:40 GMT
Cache-Control: no-cache
Pragma: no-cache
Content-Type: text/html; charset="UTF-8"
Content-Length: 2497
Accept-Ranges: none
Connection: close

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>The requested URL could not be retrieved</title>
<link href="http://passthrough.fw-notify.net/static/default.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="http://passthrough.fw-notify.net/static/default.js"></script>
</head>
<body onload="checkResize();">
<div id="emsg_large"></div>
<div id="page">
<div id="header">
<div><img src="http://passthrough.fw-notify.net/static/topbar_left.png" width="6" height="72" border="0" /></div>
<div id="company_logo"><img src="http://passthrough.fw-notify.net/static/logo.png" border="0" /></div>
<div id="company_text"><h1 class="orange">M U S I K A A R</h1></div>
<div><img src="http://passthrough.fw-notify.net/static/topbar_right.png" width="6" height="72" border="0" /></div>
</div>
<br class="clearer" />

<div id="content">
<img src="http://passthrough.fw-notify.net/static/warning.png" border="0" align="left" />
<h1 class="orange">An error occurred while handling your request</h1>

<div class="line">
<div class="label">While trying to retrieve the URL:</div>
<div class="desc">
<span>http://192.168.20.8/</span>
</div>
</div>

<div class="line">
<div class="label">The content could not be delivered due to the following condition:</div>
<div class="desc">
Connection to server timed out
</div>
</div>

<div class="line">
<div class="label">Your cache administrator is:</div>
<div class="desc">
nilang_shastri@Musikaar.com
</div>
</div>
<br class="clearer" />
</div> <!-- END: div#content -->
<br class="clearer" />

<div id="footer">
<div><a href="http://www.sophos.com" target="_blank" title="Sophos"><img src="http://passthrough.fw-notify.net/static/footer_left.png" width="136" height="33" border="0" /></a></div>
<div class="orange" id="copyright">Powered by UTM Web Protection</div>
<div><img src="http://passthrough.fw-notify.net/static/footer_right.png" width="6" height="33" border="0" /></div>
</div> <!-- END: div#footer -->
</div> <!-- END: div#page -->
</body>
</html>
Connection closed by foreign host.









share|improve this question
















when I'm trying to connect with NASL using telnet, the connection is getting closed. here is the command and the response which I got.



ubuntu-64-sumit@ubuntu-64-sumit:~$ telnet 192.168.20.8 80
Trying 192.168.20.8...
Connected to 192.168.20.8.
Escape character is '^]'.
Connection closed by foreign host.


Please let me know how can I connect on this Ip address with port 80



After '^]'. I just write "GET / HTTP/1.0" and hit the enter key 2 times and I got this xml



ubuntu-64-sumit@ubuntu-64-sumit:~$ telnet 192.168.20.8 80
Trying 192.168.20.8...
Connected to 192.168.20.8.
Escape character is '^]'.
GET / HTTP/1.0

HTTP/1.1 504 Connection to server timed out
Date: Thu, 31 Jan 2019 04:22:40 GMT
Cache-Control: no-cache
Pragma: no-cache
Content-Type: text/html; charset="UTF-8"
Content-Length: 2497
Accept-Ranges: none
Connection: close

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>The requested URL could not be retrieved</title>
<link href="http://passthrough.fw-notify.net/static/default.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="http://passthrough.fw-notify.net/static/default.js"></script>
</head>
<body onload="checkResize();">
<div id="emsg_large"></div>
<div id="page">
<div id="header">
<div><img src="http://passthrough.fw-notify.net/static/topbar_left.png" width="6" height="72" border="0" /></div>
<div id="company_logo"><img src="http://passthrough.fw-notify.net/static/logo.png" border="0" /></div>
<div id="company_text"><h1 class="orange">M U S I K A A R</h1></div>
<div><img src="http://passthrough.fw-notify.net/static/topbar_right.png" width="6" height="72" border="0" /></div>
</div>
<br class="clearer" />

<div id="content">
<img src="http://passthrough.fw-notify.net/static/warning.png" border="0" align="left" />
<h1 class="orange">An error occurred while handling your request</h1>

<div class="line">
<div class="label">While trying to retrieve the URL:</div>
<div class="desc">
<span>http://192.168.20.8/</span>
</div>
</div>

<div class="line">
<div class="label">The content could not be delivered due to the following condition:</div>
<div class="desc">
Connection to server timed out
</div>
</div>

<div class="line">
<div class="label">Your cache administrator is:</div>
<div class="desc">
nilang_shastri@Musikaar.com
</div>
</div>
<br class="clearer" />
</div> <!-- END: div#content -->
<br class="clearer" />

<div id="footer">
<div><a href="http://www.sophos.com" target="_blank" title="Sophos"><img src="http://passthrough.fw-notify.net/static/footer_left.png" width="136" height="33" border="0" /></a></div>
<div class="orange" id="copyright">Powered by UTM Web Protection</div>
<div><img src="http://passthrough.fw-notify.net/static/footer_right.png" width="6" height="33" border="0" /></div>
</div> <!-- END: div#footer -->
</div> <!-- END: div#page -->
</body>
</html>
Connection closed by foreign host.






http telnet






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 31 at 4:25







Sumit Srivastava

















asked Jan 30 at 7:09









Sumit SrivastavaSumit Srivastava

63




63




closed as unclear what you're asking by Rui F Ribeiro, Thomas, Jeff Schaller, Mr Shunz, Christopher Jan 30 at 21:03


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.









closed as unclear what you're asking by Rui F Ribeiro, Thomas, Jeff Schaller, Mr Shunz, Christopher Jan 30 at 21:03


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.















  • "not that way"? What's NASL if it's not the North American Soccer League? Port 80 is typically web traffic; did you try sending any HTTP commands, or was the connection closed immediately?

    – Jeff Schaller
    Jan 30 at 12:08











  • @JeffSchaller NASL is basicaly Nessus Attack Scripting Langauge

    – Sumit Srivastava
    Jan 30 at 15:34











  • After '^]'. just write "GET / HTTP/1.0" and hit the enter key 2 times.

    – Christopher
    Jan 30 at 21:03











  • @Christopher still the connection is closed by foreign host. but now it shows some xml. Please check the xml in question above:

    – Sumit Srivastava
    Jan 31 at 4:23













  • That's HTML, and the Web server on port 80 did exactly what it is supposed to do: it spit out the default html document and closed the connection. That's what happens with a Web browser as well. Congratulations. You used telnet to connect to port 80. The question is no longer about using telnet to connect to a port.

    – Christopher
    Jan 31 at 11:16





















  • "not that way"? What's NASL if it's not the North American Soccer League? Port 80 is typically web traffic; did you try sending any HTTP commands, or was the connection closed immediately?

    – Jeff Schaller
    Jan 30 at 12:08











  • @JeffSchaller NASL is basicaly Nessus Attack Scripting Langauge

    – Sumit Srivastava
    Jan 30 at 15:34











  • After '^]'. just write "GET / HTTP/1.0" and hit the enter key 2 times.

    – Christopher
    Jan 30 at 21:03











  • @Christopher still the connection is closed by foreign host. but now it shows some xml. Please check the xml in question above:

    – Sumit Srivastava
    Jan 31 at 4:23













  • That's HTML, and the Web server on port 80 did exactly what it is supposed to do: it spit out the default html document and closed the connection. That's what happens with a Web browser as well. Congratulations. You used telnet to connect to port 80. The question is no longer about using telnet to connect to a port.

    – Christopher
    Jan 31 at 11:16



















"not that way"? What's NASL if it's not the North American Soccer League? Port 80 is typically web traffic; did you try sending any HTTP commands, or was the connection closed immediately?

– Jeff Schaller
Jan 30 at 12:08





"not that way"? What's NASL if it's not the North American Soccer League? Port 80 is typically web traffic; did you try sending any HTTP commands, or was the connection closed immediately?

– Jeff Schaller
Jan 30 at 12:08













@JeffSchaller NASL is basicaly Nessus Attack Scripting Langauge

– Sumit Srivastava
Jan 30 at 15:34





@JeffSchaller NASL is basicaly Nessus Attack Scripting Langauge

– Sumit Srivastava
Jan 30 at 15:34













After '^]'. just write "GET / HTTP/1.0" and hit the enter key 2 times.

– Christopher
Jan 30 at 21:03





After '^]'. just write "GET / HTTP/1.0" and hit the enter key 2 times.

– Christopher
Jan 30 at 21:03













@Christopher still the connection is closed by foreign host. but now it shows some xml. Please check the xml in question above:

– Sumit Srivastava
Jan 31 at 4:23







@Christopher still the connection is closed by foreign host. but now it shows some xml. Please check the xml in question above:

– Sumit Srivastava
Jan 31 at 4:23















That's HTML, and the Web server on port 80 did exactly what it is supposed to do: it spit out the default html document and closed the connection. That's what happens with a Web browser as well. Congratulations. You used telnet to connect to port 80. The question is no longer about using telnet to connect to a port.

– Christopher
Jan 31 at 11:16







That's HTML, and the Web server on port 80 did exactly what it is supposed to do: it spit out the default html document and closed the connection. That's what happens with a Web browser as well. Congratulations. You used telnet to connect to port 80. The question is no longer about using telnet to connect to a port.

– Christopher
Jan 31 at 11:16












0






active

oldest

votes

















0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

How to reconfigure Docker Trusted Registry 2.x.x to use CEPH FS mount instead of NFS and other traditional...

is 'sed' thread safe

How to make a Squid Proxy server?