etcd is configured to only listen on certain interfaces - set the interface IP address.
IF=$(ip addr show eth0 | sed -n '/inet /{s_[^1-9]*__;s_/.*__;p}')
By default etcd is configured to listen on port 2379 for client communication and on port 2380 for server-to-server communication.