Simply ignore the value of $port with UNIX domain socket paths.