delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/06/16:21:41

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "Matt Munz" <mmunz AT apelon DOT com>
To: "Cygwin" <cygwin AT cygwin DOT com>
Subject: basic inetd setup -- opening up a new port - what am I missing?
Date: Tue, 6 Aug 2002 16:21:15 -0400
Message-ID: <HKENJJJDOGGAICDIJOJMOEKHCHAA.mmunz@apelon.com>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700
Importance: Normal

Hi all,

  First off, cygwin is great.

  w2k, latest cygwin

  I installed the net utils, and read the following pages.

  http://www.adamswann.com/library/2001/Cygwin-Inetd.html

  http://cygwin.com/ml/cygwin/2001-11/msg00233.html

  Ultimately, I'm trying to get a cvs pserver going, but for right now, I
just want to open up a port to echo.  Any port will do.  Here's what I
tried.

  1) Added the following line to /etc/inetd.conf

  cvspserver stream tcp nowait root /bin/echo echo hello

  2) created /etc/services and added the following line to it

  cvspserver 2401/tcp

  3) started the server using cygrunsrv

  4) "telnet localhost" -- this works

  5) "telnet localhost 2401" -- get the following error

  Could not open a connection to host on port 2401 : Connect failed

  6) view the log file /var/log/inetd.log -- it contains the following

  ADD : cvspserver proto=tcp, wait=0, user=root builtin=0 server=/bin/echo
  FREE: cvspserver proto=tcp, wait=0, user=root builtin=0 server=/bin/echo

  Instead of "FREE..." I want to see "registered /bin/echo on 2401".

  What happened?  Any ideas?  Does this have to do with my services file?
Any help would be greatly appreciated.

  - Matt


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019