Add doku support.
Get port as an int.