Rewrite defaults.

So that we use the modified port number.