> I am writing a simple socket program that contacts the daytime server of a
> machine and returns the current time of the day. I saw that daytime server
> is specified in /etc/services as one of available services, but when I try
> to contact it, I always get an error of connection refused. Is there some
> other files or administrative stuffs that disallow connection to a
> particular port. Somebody please clarify. Thanks
Did you have a look at /etc/inetd.conf ?