Fix port and protocol