correct gitignore file
open socket and get peer address