hosein montazer
hosein montazer

Reputation: 23

You don't have permission to access / on this server docker

I want to start a container from that image:

sudo docker run --name phpldapadmin -p 2222:80 -p 2443:443 -e LDAP_HOST=ldap.example.com -e LDAP_LOGIN_DN=cn=admin,dc=example,dc=com --link openldap:ldap-host --detach osixia/phpldapadmin:0.7.0 --copy-service

But when I'm visiting my localhost:2222 I see:

Forbidden

You don't have permission to access / on this server. So my question is: How do I have to start my container properly? What am I doing wrong here.

Upvotes: 0

Views: 1461

Answers (1)

korolFSV
korolFSV

Reputation: 11

Just add PHPLDAPADMIN_HTTPS: "false", and port 80 will work

Upvotes: 1

Related Questions