Open HTTP Server

Is there a way to open an tcp port from a JS Service?

webOS TV cannot be used as a server. Please use it only as a client. Thank you.