fix connection on not localhost
microfixes