post/ports

Request body

proto'tcp' | 'tcp4' | 'tcp6' | 'udp' | 'udp4' | 'udp6' | 'sctp' | 'sctp4' | 'sctp6' required

protocol for listening. Corresponds to Go's net.Listen. The strings with "4" and "6" suffixes were introduced in API 1.1.0.

parentIPstring
parentPortinteger
childIPstring
childPortinteger

Response

PortStatus with ID

idinteger required

Changes