use sockets instead of ports

stray?