SAM 3.1 and earlier do not support specifying ports and force the port to 0.
Declared in <netaddress.h>
<netaddress.h>
inline constexpr uint16_t I2P_SAM31_PORT = {0};