Add a way to print dynamic port on console