modified server to listen on all interfaces