more logging, adding remote port config