[OpenSIPS-Users] failed to bind port-docker with opensips-CE

Darius Stefan darius.stefan at opensips.org
Wed Nov 6 08:58:38 UTC 2024


Hello!

I think that your problem is related to the environment variable called 
HOST_IP from .env file.
Please, set this variable to your machine IP address. Another aspect you 
should take care about is not already having a MYSQL opened on port 3306 
on that machine. You can try with another port, by changing it in the 
docker-compose.yml on line 13.

Best regards,
Darius

On 11/5/24 05:20, James Zhu wrote:
>
> hello:
>
> I try to install the CE version with my VM, but when i run the docker 
> compose up. it comes out the error before:
>
> --------------------------------------------
>
> Attaching to freeswitch, mysql, opensips, opensips-cp, rtpproxy
>
> Gracefully stopping... (press Ctrl+C again to force)
>
> Error response from daemon: driver failed programming external 
> connectivity on endpoint mysql 
> (16663cc0275398763e8a51262330af1540edae9dbb06fafb932f47edcbcdd911): 
> failed to bind port 192.168.1.129:3306/tcp 
> <http://192.168.1.129:3306/tcp>: Error starting userland proxy: listen 
> tcp4 192.168.1.129:3306 <http://192.168.1.129:3306>: bind: cannot 
> assign requested address
>
> root at debian:/usr/src/opensips-softswitch-ce#
>
> -------------------------------------------------------------------------------
>
> any idea for that?
> -- 
>
> Regards!
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20241106/f356e0dc/attachment.html>


More information about the Users mailing list