I need client remote port for some validation. I tried to get Remote Port in request but result come only Zero 0. I seen that OOTB class DynamoHttpServletRequest its default return the zero any way to get the client remote port.
In OOTB class DynamoHttpServletRequest returns
public int getRemotePort() {
return 0;
}
Is there any possibility to get remote port? Any alternative ways to get Client Remote port?