default port to 3080
added sync mode