rejetto forum

Software => HFS ~ HTTP File Server => Bug reports => Topic started by: kyle on January 07, 2009, 08:15:29 PM

Title: Can't connect with telnet
Post 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.
Title: Re: Can't connect with telnet
Post by: Mars on January 07, 2009, 08:34:45 PM
you can only connect to hfs via a http browser, not by telnet or by ftp

HFS is only a HTTP FILE SERVER
Title: Re: Can't connect with telnet
Post by: kyle faucett on January 07, 2009, 09:36:06 PM
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.
Title: Re: Can't connect with telnet
Post by: rejetto on January 19, 2009, 02:56:12 PM
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.