On 07/12/2017 01:11 PM, Erin Test wrote: > I'm not aware of anything else using that port. > > sudo netstat -l -n -t -p 8001 > 8001: unknown or uninstrumented protocol
sudo netstat -l -n -t -p no 8001. -p means list the names of the processes listining. The output will be a list of all the processes listening on TCP ports. Look for port 8001 in that list. If it's not there, nothing is listening on 8001. If it is, the name of the process will be listed. Here's a sample output: > $ sudo netstat -l -n -t -p > Active Internet connections (only servers) > Proto Recv-Q Send-Q Local Address Foreign Address State > PID/Program name > tcp 0 0 192.168.5.13:8301 0.0.0.0:* LISTEN > 1465/consul > tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN > 24794/nginx > tcp 0 0 127.0.0.1:8400 0.0.0.0:* LISTEN > 1465/consul > tcp 0 0 127.0.0.1:8500 0.0.0.0:* LISTEN > 1465/consul > tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN > 1508/sshd > tcp 0 0 127.0.0.1:8024 0.0.0.0:* LISTEN > 1220/python3 > tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN > 1796/postgres > tcp 0 0 127.0.0.1:8600 0.0.0.0:* LISTEN > 1465/consul > tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN > 1814/master > tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN > 24794/nginx > tcp 0 0 127.0.0.1:8891 0.0.0.0:* LISTEN > 1711/opendkim > tcp 0 0 127.0.0.1:8000 0.0.0.0:* LISTEN > 24368/python > tcp 0 0 127.0.0.1:8001 0.0.0.0:* LISTEN > 1221/python3 This is mailman listening on port 8001 > tcp6 0 0 :::22 :::* LISTEN > 1508/sshd > tcp6 0 0 :::25 :::* LISTEN > 1814/master > > I'm on a mac and I read the options for netstat can be different between > OSX/BSD and Linux, so I verified using lsof (8889 is the port mysql is using) > > leaves:~ ejustice$ lsof -n -i4TCP:8001 | grep LISTEN So maybe nothing is listening on 8001. > leaves:~ ejustice$ lsof -n -i4TCP:8889 | grep LISTEN > mysqld 84142 ejustice 17u IPv6 0x7164e83ec7901d4b 0t0 TCP > *:ddi-tcp-2 (LISTEN) > > Also I've tried changing the default port in /etc/mailman.cfg (from 8001 to > 9001 and a couple other randomly chosen ports) and I get the same Connection > Refused. When I try to use the port mysql is using 8889 I get > > sudo curl -I -u restadmin http://localhost:8889/3.1/system/versions > Enter host password for user 'restadmin': > curl: (8) Weird server reply > > So I don't think it's a conflict with a port that is in use. The conflict would be if some other process was listening on 8001, Mailman wouldn't be able to. Have you started mailman (mailman start)? -- Mark Sapiro <m...@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan _______________________________________________ Mailman-Developers mailing list Mailman-Developers@python.org https://mail.python.org/mailman/listinfo/mailman-developers Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-developers%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9