[Mailman-Developers] Telling Apache about Mailman Rest API

Mark Sapiro mark at msapiro.net
Wed Jul 12 15:04:30 EDT 2017


On 07/12/2017 11:57 AM, Erin Test wrote:
> 
> To access the REST API I've tried both command line curl calls:
> curl -I -u restadmin http://localhost:8001/3.1/system/versions
> Enter host password for user 'restadmin':
> curl: (7) Failed to connect to localhost port 8001: Connection refused


Is something else listening on port 8001 (like maybe Apache). Do you
have iptables or some other firewall and if so have you opened port 8001.

What does

sudo netstat -l -n -t -p

say? Is something listening on 8001 and if so, what?

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


More information about the Mailman-Developers mailing list