Failed to connect to the server due to network error

I am trying to execute the file in my docker container, but I always get: : cannot execute binary file