Cannot open port 631 for Cups printer sharing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I have been trying to set up printer sharing on the LAN.All machines are
CentOS 5.2 fully updated. The problem server is a fresh build.  The box
it is replacing worked fine for many months.
The problem appears to be a closed port 631 on the new box.  iptables
and ip6tables are stopped as shown by the output below.  To confirm I
was using nmap correctly I ran it against the old server first which
shows 631 open.  No matter what I do to the new box (192.168.2.205) 631
remains closed.  I was running it on the new box via ssh which I think
eleminates any swithc/router issues.

Any thoughts gladly accepted.  This must be something simple/stupid I
have overlooked.  Not much hair left to pull out. ;-/

B.J. 

[root@office bmcclure]# ssh 192.168.2.200
root@xxxxxxxxxxxxx's password: 
Last login: Sat Feb 21 17:39:51 2009
[root@fileserver ~]# nmap -sT -p 631 -PT 192.168.2.200

Starting Nmap 4.20 ( http://insecure.org ) at 2009-03-02 11:00 EST
Interesting ports on 192.168.2.200:
PORT    STATE SERVICE
631/tcp open  ipp

Nmap finished: 1 IP address (1 host up) scanned in 0.121 seconds
[root@fileserver ~]# nmap -sT -p 631 -PT 192.168.2.205

Starting Nmap 4.20 ( http://insecure.org ) at 2009-03-02 11:01 EST
Interesting ports on 192.168.2.205:
PORT    STATE  SERVICE
631/tcp closed ipp
MAC Address: 00:17:31:EC:0B:2D (Asustek Computer)

Nmap finished: 1 IP address (1 host up) scanned in 0.185 seconds
[root@fileserver ~]# exit
logout

Connection to 192.168.2.200 closed.
[root@office bmcclure]# ssh 192.168.2.205
root@xxxxxxxxxxxxx's password: 
Last login: Mon Mar  2 06:52:36 2009 from house.keepertoad.com
[root@webserver ~]# service iptables stop
[root@webserver ~]# service ip6tables stop
[root@webserver ~]# iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         
[root@webserver ~]# ip6tables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         
[root@webserver ~]# nmap -sT -p 631 -PT 127.0.0.1

Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2009-03-02 11:03
EST
Interesting ports on localhost (127.0.0.1):
PORT    STATE  SERVICE
631/tcp closed ipp

Nmap finished: 1 IP address (1 host up) scanned in 0.031 seconds
[root@webserver ~]# service cups status
cupsd (pid 6941) is running...
[root@webserver ~]# nmap -sT -F -PT 127.0.0.1

Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2009-03-02 11:09
EST
Interesting ports on localhost (127.0.0.1):
Not shown: 1233 closed ports
PORT     STATE SERVICE
22/tcp   open  ssh
25/tcp   open  smtp
111/tcp  open  rpcbind
443/tcp  open  https
636/tcp  open  ldapssl
2049/tcp open  nfs

Nmap finished: 1 IP address (1 host up) scanned in 0.077 seconds

[root@webserver ~]# 


CentOS 5.2, Linux 2.6.18-92.1.22.el5 x86_64 10:54:59 up 17:48, 1 user,
load average: 0.34, 0.23, 0.09

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux