add protocol and port declare