{"id":6210,"date":"2024-05-03T16:25:15","date_gmt":"2024-05-03T13:25:15","guid":{"rendered":"https:\/\/1.cbm.ua\/?p=6210"},"modified":"2026-01-02T13:36:58","modified_gmt":"2026-01-02T10:36:58","slug":"web-server-%d0%bb%d0%be%d0%ba%d0%b0%d0%bb%d1%8c%d0%bd%d1%8b%d0%b9-%d0%b2%d0%b5%d0%b1-%d1%81%d0%b5%d1%80%d0%b2%d0%b5%d1%80-http-server","status":"publish","type":"post","link":"https:\/\/1.cbm.ua\/?p=6210","title":{"rendered":"\u2764\ufe0f___ Web Server \u041b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0439 \u0432\u0435\u0431 \u0441\u0435\u0440\u0432\u0435\u0440. (http-server)."},"content":{"rendered":"\n<p>\u0442\u0430\u043a\u0436\u0435 \u0441\u043c\u043e\u0442\u0440\u0438 \u0442\u0443\u0442 &#8212; <a href=\"https:\/\/1.cbm.ua\/?p=7232\">https:\/\/1.cbm.ua\/?p=7232<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"238\" height=\"174\" src=\"https:\/\/fjngqp1mvftjzxfzrdiggafze9wxueam.cdn-freehost.com.ua\/wp-content\/uploads\/2024\/05\/image-6.png\" alt=\"\" class=\"wp-image-7896\"\/><\/figure>\n\n\n\n<p>\u0437\u0430\u043f\u0443\u0441\u0442\u0438 CMD<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd C:\\Users\\jp_DK_i\\Documents\\project\\\u043f\u0440\u043e\u0435\u043a\u0442 HTML_CSS_JS\\HTML_CSS_JS\\pr_0010_Site_jp_nom1_book_Programming_languages_2.cbm.ua\\str\\Video<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>http-server --no-cache\n \u0438\u043b\u0438\nhttp-server\n \u0438\u043b\u0438\nnpx serve\n \u0438\u043b\u0438\n\u043c\u043e\u0436\u043d\u043e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0447\u0435\u0440\u0435\u0437 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 Live Server \u0432 VS Code)\n \u0438\u043b\u0438\n\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0441\u0431\u043e\u0440\u043a\u0438 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440: Vite \u0438\u043b\u0438 Webpack).\n<\/code><\/pre>\n\n\n\n<p>\u0432\u043e\u0439\u0434\u0438\u0442\u0435 \u0432 \u0411\u0440\u0430\u0443\u0437\u0435\u0440 \u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>http:&#47;&#47;localhost:8000\/index.html\n<a href=\"http:\/\/127.0.0.1:8080\">http:\/\/127.0.0.1:8080<\/a>\n\n\u0438\u043b\u0438 (\u043f\u0440\u0438 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u0438 \u0441 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0433\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u0432 \u0442\u043e\u0439 \u0436\u0435 \u0441\u0435\u0442\u0438)\nhttp:\/\/192.168.100.102:8000\/index.html\n<\/code><\/pre>\n\n\n\n<p>http:\/\/127.0.0.1:8080<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>\u041c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0441\u0435\u0440\u0432\u0435\u0440 \u043d\u0430 <strong>Python<\/strong>-\u0435 \u0438\u043b\u0438 <strong>Node.js<\/strong><\/p>\n\n\n\n<p><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-nv-c-2-color\">python -m http.server<\/mark><\/strong><\/p>\n\n\n\n<p>  \u0438\u043b\u0438<\/p>\n\n\n\n<p><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-custom-7-color\">npx serve<\/mark><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0442\u0430\u043a\u0436\u0435 \u0441\u043c\u043e\u0442\u0440\u0438 \u0442\u0443\u0442 &#8212; https:\/\/1.cbm.ua\/?p=7232 \u0437\u0430\u043f\u0443\u0441\u0442\u0438 CMD \u0432\u043e\u0439\u0434\u0438\u0442\u0435 \u0432 \u0411\u0440\u0430\u0443\u0437\u0435\u0440 \u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435 http:\/\/127.0.0.1:8080 \u041c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0441\u0435\u0440\u0432\u0435\u0440 \u043d\u0430 Python-\u0435 \u0438\u043b\u0438 Node.js python -m http.server \u0438\u043b\u0438 npx serve<\/p>\n","protected":false},"author":1,"featured_media":7896,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","footnotes":""},"categories":[83,31,2,174],"tags":[],"class_list":["post-6210","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cmd","category-windows","category-python","category-webserver"],"_links":{"self":[{"href":"https:\/\/1.cbm.ua\/index.php?rest_route=\/wp\/v2\/posts\/6210","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/1.cbm.ua\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/1.cbm.ua\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/1.cbm.ua\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/1.cbm.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6210"}],"version-history":[{"count":11,"href":"https:\/\/1.cbm.ua\/index.php?rest_route=\/wp\/v2\/posts\/6210\/revisions"}],"predecessor-version":[{"id":7897,"href":"https:\/\/1.cbm.ua\/index.php?rest_route=\/wp\/v2\/posts\/6210\/revisions\/7897"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/1.cbm.ua\/index.php?rest_route=\/wp\/v2\/media\/7896"}],"wp:attachment":[{"href":"https:\/\/1.cbm.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6210"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/1.cbm.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6210"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/1.cbm.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6210"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}