This depends on your server. If the server tries to get the portnumber on which
to listen from the services file (get_servbyname) then this would work. But NOT
if the the server has a numeric port number in its config (like apache).

 
On 21-Sep-2001 James Sparenberg wrote:
> All,
>    Coming from the BSD world I can say that to "close" a port I would simply
> edit /etc/services and comment out (add a # sign) at the front of every line
> for a port and service I didn't need/want running.  Wouldn't this work the
> same in Linux?  If not, does anyone know why?
> 
> James
> 
> On Fri, 21 Sep 2001 17:49:38 -0400
> etharp <[EMAIL PROTECTED]> wrote:
> 
>> On Friday 21 September 2001 17:12, you wrote:
>> > I visited the self scan page and there are some ports open. how to close
>> > ports? I tried closing them using firewall, nothing happened.  I have
>> > used linuxconf to stop service using these ports, but they'r estill
>> > open.  mandrake 7.1 had an application to close ports, but it's not
>> > available in M 8.0, i want to close this ports, how to do it
>> 
>> ----------------------------------------
>> Content-Type: text/plain; charset="us-ascii"; name="message.footer"
>> Content-Transfer-Encoding: 8bit
>> Content-Description: 
>> ----------------------------------------
>> as root, in a rext console, type "InteractiveBastille", without the quotes, 
>> noteing the caps
>> 
>> 
> 

----------------------------------
E-Mail: Gregor Maier <[EMAIL PROTECTED]>
Date: 24-Sep-2001
Time: 08:46:00
----------------------------------

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to