tested serial, added port for tcp