Skip to content

Commit

Permalink
Fix getPort function for tomcat-8.5
Browse files Browse the repository at this point in the history
  • Loading branch information
jajik committed Sep 22, 2023
1 parent 8f556f7 commit 76de2c6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public void setAddress(InetAddress address) {

@Override
public int getPort() {
return (this.externalPort == null) ? this.connector.getPort() : this.externalPort;
return (this.externalPort == null) ? this.connector.getPortWithOffset() : this.externalPort;
}

@Override
Expand Down

0 comments on commit 76de2c6

Please sign in to comment.