[Watford] Debian Ports

walt walt at helvatron.co.uk
Tue Nov 1 11:26:00 UTC 2011


Hi Alain,

This is the result of netstat -ltp:

Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
PID/Program name
tcp        0      0 *:49961                 *:*                     LISTEN
639/rpc.statd   
tcp        0      0 Debian6:mysql           *:*                     LISTEN
1429/mysqld     
tcp        0      0 *:sunrpc                *:*                     LISTEN
613/portmap     
tcp        0      0 Debian6:ipp             *:*                     LISTEN
1160/cupsd      
tcp        0      0 Debian6:smtp            *:*                     LISTEN
1837/exim4      
tcp        0      0 *:swat                  *:*                     LISTEN
1252/inetd      
tcp6       0      0 [::]:netbios-ssn        [::]:*                  LISTEN
1284/smbd       
tcp6       0      0 [::]:www                [::]:*                  LISTEN
906/apache2     
tcp6       0      0 ip6-localhost:ipp       [::]:*                  LISTEN
1160/cupsd      
tcp6       0      0 ip6-localhost:smtp      [::]:*                  LISTEN
1837/exim4      
tcp6       0      0 [::]:microsoft-ds       [::]:*                  LISTEN
1284/smbd       

iptables is uninstalled as I mentioned.  Do I need to re-install it?

Best regards, Walter



-----Original Message-----
From: watford-bounces at mailman.lug.org.uk
[mailto:watford-bounces at mailman.lug.org.uk] On Behalf Of Alain Williams
Sent: 01 November 2011 11:18
To: walt at helvatron.co.uk; watford at mailman.lug.org.uk
Subject: Re: [Watford] Debian Ports

On Tue, Nov 01, 2011 at 11:09:50AM -0000, walt wrote:
> Hi all,
> 
> Hope you can help me.
> 
> I've got quite a long way with Linux over the past few months but I've 
> run into a problem I just don't understand.  I've googled it to death 
> but I still don't know enough to resolve the problem.
> 
> It's Debian Linux and it runs Apache, MySql, PHP and  SAMBA at the moment.
> 
> Everthing works fine.  Even the SAMBA shares function as they should 
> and I can access all the shared folders from any windows pc.
> 
> However,  I also need odbc (3306), smtp (25) and pop3 (110)  
> connections from windows machines to work.  According to the network 
> tools/port scan the required ports are open.  Here is the interesting 
> thing; if I run a portscan as 'localhost' or 127.0.0.1 then ALL the 
> ports are reported as open.  If, however,  I enter the ipV4 address of 
> this machine and run the scan all the ports I need, apart from 80, are 
> missing.  Port 80 appears on both local and lan ip lists.
> 
> In desperation I re-installed debian Linux from scratch but I got the 
> same results.  I then uninstalled iptables but that made no difference
either.
> 
> There must be a configuration file somewhere that needs changing, I 
> just don't know which one.  I have already checked host.allowed and 
> hosts.denied, they have no active entries.
> 
> Hope one of you can point me in the right direction.

2 possible causes, the applications are listening on the localhost address
or there is a firewall stopping external access.

The check the first run:

	netstat -ltp

To check the second run:

	iptables -L

--
Alain Williams
Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT
Lecturer.
+44 (0) 787 668 0256  http://www.phcomp.co.uk/
Parliament Hill Computers Ltd. Registration Information:
http://www.phcomp.co.uk/contact.php
#include <std_disclaimer.h>

_______________________________________________
Watford mailing list
Watford at mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/watford




More information about the Watford mailing list