Changed default port to 8, add API test pg support