add localhost\port to config