View Single Post
  #1  
Old 02-12-2022, 06:42 AM
Skream
Fire Beetle
 
Join Date: Feb 2020
Posts: 13
Default Project akk-stack - unable to start mariadb

Quote:
ERROR: for d3f1d38b4842_peq-local_mariadb_1 Cannot start service mariadb: driver failed programming external connectivity on endpoint peq-local_mariadb_1 (56ab32b2cdaba96852752c753f1cfe73073a01fe210f36d52 39ef7f156f0e39f): Error starting userland proxy: listen tcp4 172.20.0.20:3306: bind: cannot assign requested address
Recreating e169422103e5_peq-local_eqemu-server_1 ... error

ERROR: for e169422103e5_peq-local_eqemu-server_1 Cannot start service eqemu-server: driver failed programming external connectivity on endpoint peq-local_eqemu-server_1 (06987ae47f52ace2e72052e63733bdaa03ac9f385ec7a6c92 b3b721d56ab149b): Error starting userland proxy: listen tcp4 172.20.0.20:9001: bind: cannot assign requested address

ERROR: for mariadb Cannot start service mariadb: driver failed programming external connectivity on endpoint peq-local_mariadb_1 (56ab32b2cdaba96852752c753f1cfe73073a01fe210f36d52 39ef7f156f0e39f): Error starting userland proxy: listen tcp4 172.20.0.20:3306: bind: cannot assign requested address

ERROR: for eqemu-server Cannot start service eqemu-server: driver failed programming external connectivity on endpoint peq-local_eqemu-server_1
(06987ae47f52ace2e72052e63733bdaa03ac9f385ec7a6c92 b3b721d56ab149b): Error starting userland proxy: listen tcp4 172.20.0.20:9001: bind: cannot assign requested address
This on a local server running Ubuntu 20.04. I also tried the 192.168.0 range.
netstat says nothing is using 3306 so I am thinking it's iptables on the host? Or is there something else I am missing?

EDIT : Yeah, its not the internal firewall as I allowed all 3306 and its still throwing that error.

EDIT : Did some googling and something doesn't look right.

Quote:
xxxxx:~/peq-local$ docker network ls
NETWORK ID NAME DRIVER SCOPE
2e88322eda52 bridge bridge local
995c19f4c868 host host local
9fd44a0d43a8 none null local
0dd171274382 peq-local_backend bridge local
xxxxxx:~/peq-local$ docker network inspect peq-local_backend
[
{
"Name": "peq-local_backend",
"Id": "0dd171274382c1ab8dc12c8602ac73b17af2efc3eb8fd0a93 ce04934cc0d886c",
"Created": "2022-02-12T15:10:39.7912322Z",
"Scope": "local",
"Driver": "bridge",
"EnableIPv6": false,
"IPAM": {
"Driver": "default",
"Options": null,
"Config": [
{
"Subnet": "172.19.0.0/16",
"Gateway": "172.19.0.1"
}
]
},
"Internal": false,
"Attachable": true,
"Ingress": false,
"ConfigFrom": {
"Network": ""
},
"ConfigOnly": false,
"Containers": {},
"Options": {},
"Labels": {
"com.docker.compose.network": "backend",
"com.docker.compose.project": "peq-local",
"com.docker.compose.version": "1.29.2"
}
}
]
Note, I tole the make command to give me 172.20.0.20 but its made the network for 172.19.0.0/16. Also I edited the .env file to set the port to 3386 and that was NOT picked up. It keeps trying to assign 3306.
Reply With Quote