{"id":8723,"date":"2014-12-02T23:19:29","date_gmt":"2014-12-02T23:19:29","guid":{"rendered":"https:\/\/wp.okra.host\/article\/listening-on-ports\/"},"modified":"2021-03-07T14:48:20","modified_gmt":"2021-03-07T13:48:20","slug":"listening-on-ports","status":"publish","type":"ht_kb","link":"https:\/\/kb.okra.host\/de\/article\/listening-on-ports\/","title":{"rendered":"Abh\u00f6ren von Ports"},"content":{"rendered":"<h2 id=\"overview\" >\u00dcbersicht<\/h2>\n<p>Some applications require persistence to continue to run after a page view has concluded. Node.js or other backend\u00a0socket\/server pairs connect a front-end process, like a web page view, with a backend process such as data crunching. For such circumstances, clients with <a title=\"Ist ein Terminalzugang vorhanden?\" href=\"https:\/\/kb.okra.host\/de\/terminal\/is-terminal-access-available\/\">Developer+ packages<\/a> may run\u00a0daemons necessary for their web site to operate \u2013\u00a0<em>please no game servers, bitcoin miners, TeamSpeak servers,\u00a0IRC bouncers, etc<\/em>.<\/p>\n<h2 id=\"port-ranges\" >Port Ranges<\/h2>\n<p>Port ranges are available within the <a title=\"Anmeldung am Bedienfeld\" href=\"https:\/\/kb.okra.host\/de\/control-panel\/logging-into-the-control-panel\/\">Bedienfeld<\/a> unter\u00a0<strong>Konto<\/strong> &gt; <b>Summary &gt; Development<\/b>. Port ranges vary from server-to-server and are based primarily on provisional precedence. Always check the control panel to make sure you&#8217;re listening in the right port range, which is\u00a0<em>always<\/em> between the port range <em>40010<\/em> und <em>49999<\/em>. Failure to adhere to this port range will result in automatic termination of the offending service.<\/p>\n<div id=\"attachment_317\" style=\"width: 310px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/kb.okra.host\/wp-content\/uploads\/2014\/12\/tcp-port-range.png\" rel=\"lightbox-0\" data-lbwps-width=\"535\" data-lbwps-height=\"284\" data-lbwps-srcsmall=\"https:\/\/kb.okra.host\/wp-content\/uploads\/2014\/12\/tcp-port-range.png\"><img decoding=\"async\" aria-describedby=\"caption-attachment-317\" loading=\"lazy\" class=\"size-medium wp-image-317\" src=\"https:\/\/kb.okra.host\/wp-content\/uploads\/2014\/12\/tcp-port-range-300x159.png\" alt=\"TCP port range available within the control panel under Account &gt; Summary &gt; Development.\" width=\"300\" height=\"159\" \/><\/a><\/p>\n<p id=\"caption-attachment-317\" class=\"wp-caption-text\">TCP port range available within the control panel under Account &gt; Summary &gt; Development.<\/p>\n<\/div>\n<h2 id=\"tcp-or-socket\" >TCP or Socket?<\/h2>\n<p>TCP is only necessary if you need\u00a0<em>a service external from the server to communicate with it<\/em>. Otherwise, a local UNIX socket is not only <a href=\"http:\/\/momjian.us\/main\/blogs\/pgblog\/2012.html#June_6_2012\">~33% faster<\/a>, because the TCP stack is eschewed, but also only applications that originate on the server may access the service. Effectively, a firewall is erected prohibiting communication from third-parties outside the network. You can run as many services that listen on a UNIX domain socket that your account needs.<\/p>\n<h2 id=\"see-also\" >Siehe auch<\/h2>\n<p><a title=\"Programme kompilieren\" href=\"https:\/\/kb.okra.host\/de\/terminal\/compiling-programs\/\">Programme kompilieren<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>Overview Some applications require persistence to continue to run after a page view has concluded. Node.js or other backend\u00a0socket\/server pairs connect a front-end process, like a web page view, with a backend process such as data crunching. For such circumstances, clients with Developer+ packages may run\u00a0daemons necessary for their web&#8230;<\/p>","protected":false},"author":1,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[68],"ht-kb-tag":[],"class_list":["post-8723","ht_kb","type-ht_kb","status-publish","format-standard","has-post-thumbnail","hentry","ht_kb_category-terminal"],"_links":{"self":[{"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/ht-kb\/8723","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/comments?post=8723"}],"version-history":[{"count":1,"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/ht-kb\/8723\/revisions"}],"predecessor-version":[{"id":8724,"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/ht-kb\/8723\/revisions\/8724"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/media\/8725"}],"wp:attachment":[{"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/media?parent=8723"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/ht-kb-category?post=8723"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/ht-kb-tag?post=8723"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}