-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
driver failed programming external connectivity on endpoint mysql #4
Comments
ip route cat /etc/hosts Networking is set to DHCP, this is a VPS on the internet, on the public ip subnet 87.106.199.0/24 ip addr There's nothing on the host with a 192.168.1 address. |
Yes, exactly, that's why you need to change the |
Which is what I have done, yet it still binds to this 192.168.1.129 address, it ignores me changing the HOST_IP line to my VPS public ip. I've deleted the containers, I've removed the repo sync, I've git cloned again, changed the HOST_IP and ran docker compose up clean, and it still has the address that I've removed from the .env file. Bit lost here |
you need to remove the containers: run |
docker compose up
[+] Running 5/5
✔ Container opensips Recreated 0.2s
✔ Container rtpproxy Recreated 0.1s
✔ Container freeswitch Recreated 4.5s
✔ Container opensips-cp Recreated 0.2s
✔ Container mysql Recreated 0.1s
Attaching to freeswitch, mysql, opensips, opensips-cp, rtpproxy
Error response from daemon: driver failed programming external connectivity on endpoint mysql (75be3c47a0283cf292d2b9ed72b6f97cacafcabbc4e9a05f10dbbd36f67d4db7): failed to bind port 192.168.1.129:3306/tcp: Error starting userland proxy: listen tcp4 192.168.1.129:3306: bind: cannot assign requested address
nothing in my .env has this ip address, where is it coming from:
NETWORK=172.72.0.0/24
OPENSIPS_IP=172.72.0.2
MYSQL_IP=172.72.0.3
MYSQL_ROOT_PASSWORD=root
MYSQL_DATABASE=opensips
MYSQL_USER=opensips
MYSQL_PASSWORD=opensipsrw
MYSQL_PORT=3306
CP_IP=172.72.0.4
RTPPROXY_IP=172.72.0.5
RTPPROXY_PORT=7899
MINPORT=30000
MAXPORT=30100
FREESWITCH_IP=172.72.0.6
ENABLE_HOMER=no
HOMER_IP=${HOST_IP}
HOMER_PORT=9060
DEFAULT_DOMAIN=domain.sip
The text was updated successfully, but these errors were encountered: