Comments (6)
You have to bind the container expose port 5280 to the outside port 5280 -p 5280:5280
. Try the Quickstart example and see if this work for you.
from docker-ejabberd.
ya I even have an ansible playbook here:
https://github.com/joshuacox/ejabberdocker-ansible-playbook
but I do not get a response on 5280 even though I can see it in the logs. I also stuck this in rancher to try it out another way, same results, viewing in the api gives me this:
{
"id": "1i4",
"type": "container",
"links": {
"self": "…/v1/projects/1a5/containers/1i4",
"account": "…/v1/projects/1a5/containers/1i4/account",
"credentials": "…/v1/projects/1a5/containers/1i4/credentials",
"hosts": "…/v1/projects/1a5/containers/1i4/hosts",
"instanceLabels": "…/v1/projects/1a5/containers/1i4/instancelabels",
"instanceLinks": "…/v1/projects/1a5/containers/1i4/instancelinks",
"instances": "…/v1/projects/1a5/containers/1i4/instances",
"loadBalancerTargets": "…/v1/projects/1a5/containers/1i4/loadbalancertargets",
"mounts": "…/v1/projects/1a5/containers/1i4/mounts",
"ports": "…/v1/projects/1a5/containers/1i4/ports",
"serviceEvents": "…/v1/projects/1a5/containers/1i4/serviceevents",
"serviceExposeMaps": "…/v1/projects/1a5/containers/1i4/serviceexposemaps",
"services": "…/v1/projects/1a5/containers/1i4/services",
"targetInstanceLinks": "…/v1/projects/1a5/containers/1i4/targetinstancelinks",
"volumes": "…/v1/projects/1a5/containers/1i4/volumes",
"stats": "…/v1/projects/1a5/containers/1i4/stats",
},
"actions": {
"update": "…/v1/projects/1a5/containers/1i4/?action=update",
"stop": "…/v1/projects/1a5/containers/1i4/?action=stop",
"restart": "…/v1/projects/1a5/containers/1i4/?action=restart",
"migrate": "…/v1/projects/1a5/containers/1i4/?action=migrate",
"logs": "…/v1/projects/1a5/containers/1i4/?action=logs",
"setlabels": "…/v1/projects/1a5/containers/1i4/?action=setlabels",
"execute": "…/v1/projects/1a5/containers/1i4/?action=execute",
},
"name": "ejabberd_ejabberd_1",
"state": "running",
"accountId": "1a5",
"build": null,
"capAdd": [ ],
"capDrop": [ ],
"command": null,
"cpuSet": null,
"cpuShares": null,
"created": "2015-06-21T05:42:47Z",
"createdTS": 1434865367000,
"dataVolumes": [ ],
"dataVolumesFrom": [ ],
"description": null,
"devices": [ ],
"dns": [ ],
"dnsSearch": [ ],
"domainName": "webhosting.coop",
"entryPoint": null,
"environment": {
"XMPP_DOMAIN": "webhosting.coop",
"EJABBERD_ADMIN": "[email protected]",
"ERLANG_NODE": "ejabberd",
"EJABBERD_AUTO_RANDPWD": "true",
"TZ": "America/Chicago",
"EJABBERD_WEB_ADMIN_SSL": "true",
},
"externalId": "f6379b6205b6e97586cb33268f76cea380860b8b8c71440709f5b7edc17efa96",
"extraHosts": null,
"firstRunning": "2015-06-21T05:47:16Z",
"firstRunningTS": 1434865636000,
"healthCheck": null,
"healthState": null,
"hostname": "jabber.webhosting.coop",
"imageUuid": "docker:rroemhild/ejabberd",
"kind": "container",
"labels": {
"io.rancher.project.name": "ejabberd",
"io.rancher.service.deployment.unit": "47f6cf69-159b-4a04-a083-23153ee36610",
"io.rancher.service.launch.config": "io.rancher.service.primary.launch.config",
"io.rancher.project_service.name": "ejabberd/ejabberd",
"io.rancher.scheduler.affinity:container_label_soft": "io.rancher.service.deployment.unit=47f6cf69-159b-4a04-a083-23153ee36610",
},
"logConfig": null,
"lxcConf": null,
"memory": null,
"memorySwap": null,
"nativeContainer": false,
"networkContainerId": null,
"networkMode": "managed",
"pidMode": null,
"ports": [ 4 items
"5222:5222/tcp",
"5269:5269/tcp",
"5280:5280/tcp",
"4560:4560/tcp",
],
"primaryIpAddress": "10.42.160.117",
"privileged": false,
"publishAllPorts": false,
"readOnly": false,
"registryCredentialId": null,
"removed": null,
"requestedHostId": "1h2",
"restartPolicy": {
"name": "always",
},
"securityOpt": null,
"startOnCreate": true,
"stdinOpen": true,
"systemContainer": null,
"transitioning": "no",
"transitioningMessage": null,
"transitioningProgress": null,
"tty": true,
"user": null,
"uuid": "de04a1bc-7092-42d8-9a1d-07f48de81deb",
"workingDir": null,
}
from docker-ejabberd.
It seems you try to connect with http
instead of https
? Port 5280 is secured by default. You can set the envvar EJABBERD_WEB_ADMIN_SSL=false
to disable SSL on port 5280.
from docker-ejabberd.
Maybe the DEBUG loglevel has more information. Run with -e "LOGLEVEL=5"
to enable DEBUG.
from docker-ejabberd.
ok the errors in the log were indeed, merely, when I connected without https. but if I
curl https://gist.github.com/joshuacox/3f359bec364e32e5f6c5|bash
it doesn't seem to be creating the admin user given this gist do I have a typo?
https://gist.github.com/joshuacox/3f359bec364e32e5f6c5
from docker-ejabberd.
Readme typo fixed with 680d6e7.
from docker-ejabberd.
Related Issues (20)
- Custom Module HOT 1
- Can't access admin :5280/admin HOT 2
- Cannot access API with browser show not found HOT 1
- Ejabberd shared roaster group with members @all@ HOT 5
- Kubernetes working example HOT 8
- SSL more env vars
- 18.09 tag HOT 1
- Not listening to any connection HOT 3
- Open relay HOT 5
- Keeping a CHANGELOG would be nice! HOT 2
- Getting issue with file upload HOT 1
- PostgreSQL support for auth script
- Can't connect to web admin
- setting ERLANG_NODE crashes docker container HOT 1
- dotenv and python
- Support for http auth method HOT 1
- How to do a Select on Erlang, Mnesia
- conf/ejabberd.yml.tpl seems to be outdated
- Provide tags for newer ejabberd versions HOT 1
- Easy, one-click deployment of ejabberd using Cloudron HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-ejabberd.