title: disable telnet on http port?
body: <p>I might be asking wrong questions now but bear with me.</p>
  
  <p>I have a Linux system with a daemon and a web front end to it. The daemon accepts socket request on a certain port and receive commands. Normally, such commands are issued by the web front end, which has it's secure login procedure. However, as HTTP allows anybody from telnet-ing onto that port and issue raw commands, I need a way of protecting the system from abuse.  </p>
  
  <p>I actually don't think there is a way to configure apache to no allow telnet because then the whole thing probably wouldn't work any more.</p>
  
  <p>So is there any way to only allow socket created from local host?</p>
  
  <p>ps. I know there is local version of socket but I'd like to avoid it - reason is that I've written an automated testing framework depending on remote connection.</p>
  
  <p>Thanks,</p>