-fixing port choices that conflict with lockmanager