| delorie.com/archives/browse.cgi | search |
| 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: | jalonso AT mit DOT edu |
| Message-ID: | <1027097023.3d3841bfbdc1f@webmail.mit.edu> |
| Date: | Fri, 19 Jul 2002 12:43:43 -0400 |
| To: | cygwin AT cygwin DOT com |
| Subject: | RE: Server Port? |
| References: | <20020719153558 DOT 13240 DOT qmail AT web21005 DOT mail DOT yahoo DOT com> |
| In-Reply-To: | <20020719153558.13240.qmail@web21005.mail.yahoo.com> |
| MIME-Version: | 1.0 |
| User-Agent: | Internet Messaging Program (IMP) 3.1-cvs |
| X-Originating-IP: | 18.85.46.181 |
| X-Originating-Host: | 1cc-dhcp-181.media.mit.edu |
| X-MIT-WebMail-Sender: | |
| X-MIT-WebMail-User-Browser: | Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0) |
The services file you found in C:\WINNT\system32\drivers\etc is indeed the file
you would want to edit--it affects both Cygwin and vanilla Windows applications.
My personal preference is to symlink /etc/services to the Windows one...
(Hmm... who's for making this part of the install process?)
To do that: ln -s /cygdrive/c/WINNT/system32/drivers/etc/services /etc/services
(Note that this works on Win NT/2K/XP only. On ME???/95/98 the file is
C:\WINDOWS\services... I think. It might be in the system directory.)
Changing standard port numbers is something that I have not tried. If you
change the port assignment for FTP, you may suddenly find that your better
written Windows apps ("better written" implies "well abstracted" implies "few
hard-coded numbers") will no longer be able to find FTP servers without an
explicit port specification. I leave it to the reader to find out if IE falls
into that category.
I add entries to my services file at the drop of a hat, though.
I hope this helps.
Jason Alonso
Quoting Nicholas Wourms <nwourms AT yahoo DOT com>:
>
> --- Daniel Adams <danpadams AT infomagic DOT net> wrote:
> > Will editing this file alter the port numbers for telnet or FTP used by
> > cygwin telnet and ftp clients, also some other windows clients? The file
> > that I found that could be edited was at C:\WINNT\system32\drivers\etc.
> > I am
> > on a windows NT system. I figured that the method would involve this
> > file
> > since my Dad's redhat machine uses the same thing, but I also figured
> > there
> > would a file in my cygwin directory not the WINNT directory. Do you have
> > any
> > knowledge about these questions?
>
> Why not experiment and see what happens? I mean its not like it will take
> your machine down.
>
> Cheers,
> Nicholas
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Autos - Get free new car price quotes
> http://autos.yahoo.com
>
> --
> 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/
>
>
--
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |