syn code form local to server