Fixing port numbers and paths.