Seems to be a known (and fixed) error.
A similar problem was discussed in Mix phx.server has weird output, does not start on port 4000
Perhaps you can find an adhok solution to the problem in that thread?