getPort abstract method

int getPort()

Returns the port that the server is listening on.

Implementation

int getPort();