rejetto forum
Software => HFS ~ HTTP File Server => Bug reports => Topic started by: kyle on January 07, 2009, 08:15:29 PM
-
When I connect to the server through telnet, it disconnects after the first line without reply.
For example:
telnet 10.0.0.1 80
(connects)
GET / HTTP/1.1
(disconnects)
I've tried this both locally and remotely, with OS X and XP. I can connect with any browser, and can also telnet to other web servers. I'm confused. Anyone know what may be wrong? Using build 217.
-
you can only connect to hfs via a http browser, not by telnet or by ftp
HFS is only a HTTP FILE SERVER
-
I'm the original poster.
HTTP is just an application layer protocol, so as long as what you type follows the protocol, you can use it in telnet. For example, if you type:
telnet www.google.com 80
(wait for connection)
GET / HTTP/1.1 (newline)
(newline)
you should see the source code of google's home page. I think the 1.1 standard calls for a Host:... line after the GET... line, but google doesn't seem to care.
-
hi kyle!
this problem was introduced in the last 2-3 months, because sometimes i use telnet to test hfs.
it will be solved in next build.