{"id":13390,"date":"2023-09-13T10:00:00","date_gmt":"2023-09-13T01:00:00","guid":{"rendered":"https:\/\/www.gigas-jp.com\/appnews\/?p=13390"},"modified":"2023-09-13T10:14:54","modified_gmt":"2023-09-13T01:14:54","slug":"netsh%e3%82%b3%e3%83%9e%e3%83%b3%e3%83%89%e3%82%92%e5%88%a9%e7%94%a8%e3%81%97%e3%81%9f%e7%b0%a1%e5%8d%98%e3%81%aa%e3%83%9d%e3%83%bc%e3%83%88%e3%83%95%e3%82%a9%e3%83%af%e3%83%bc%e3%83%89%e3%81%ae","status":"publish","type":"post","link":"https:\/\/www.gigas-jp.com\/appnews\/archives\/13390","title":{"rendered":"netsh\u30b3\u30de\u30f3\u30c9\u3092\u5229\u7528\u3057\u305f\u7c21\u5358\u306a\u30dd\u30fc\u30c8\u30d5\u30a9\u30ef\u30fc\u30c9\u306e\u8a2d\u5b9a\u65b9\u6cd5"},"content":{"rendered":"\n<p>Docker\u3067\u5efa\u3066\u305f\u30ed\u30fc\u30ab\u30eb\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u5185\u306e\u4eee\u60f3\u30b5\u30fc\u30d0\u30fc\u306b\u30dd\u30fc\u30c8\u756a\u53f7\u3092\u6307\u5b9a\u305b\u305a\u306b<br>URL\u3067\u30a2\u30af\u30bb\u30b9\u3057\u305f\u3044\u3053\u3068\u304c\u3042\u308a\u307e\u3057\u305f\u306e\u3067\u3001\u305d\u306e\u65b9\u6cd5\u3092\u8abf\u3079\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>Mac\u4e0a\u306bDocker\u3092\u4f7f\u7528\u3057\u3066\u30b5\u30fc\u30d0\u30fc\u3092\u4f5c\u6210\u3057\u3001<br>\u5225\u306eWindows PC\u304b\u3089 http:\/\/localhost\/ \u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068<br>Mac\u306eDocker\u4e0a\u306eWeb\u30da\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4eca\u56de\u8a66\u3057\u305f\u74b0\u5883\u306f<br>Mac\u306eDocker\u4e0a\u306e\u8a2d\u5b9a\u3067\u3001Mac\u306e\u30dd\u30fc\u30c88080\u3092Docker\u4e0a\u306e\u30dd\u30fc\u30c880\u306b<br>\u30de\u30c3\u30d4\u30f3\u30b0\u3055\u308c\u308b\u3088\u3046\u306b\u3059\u308b\u3053\u3068\u3067Mac\u306eIP\u30a2\u30c9\u30ec\u30b9\u306e\u30dd\u30fc\u30c88080\u306b<br>\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068Docker\u4e0a\u306eWeb\u30da\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u308b\u72b6\u614b\u306b\u3057\u307e\u3059\u3002<br>\u3053\u306eMac\u306eIP\u3068\u30dd\u30fc\u30c8\u3092\u4f8b\u3068\u3057\u3066 192.168.0.25:8080 \u3068\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u6b21\u306b\u540c\u3058\u30ed\u30fc\u30ab\u30eb\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u5185\u306b\u5b58\u5728\u3059\u308bWindows\u5074\u3067<br>netsh\u30b3\u30de\u30f3\u30c9\u3092\u5229\u7528\u3057\u3066\u30dd\u30fc\u30c8\u30d5\u30a9\u30ef\u30fc\u30c9\u306e\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059\u3002<br>\u7ba1\u7406\u8005\u6a29\u9650\u3067\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u8d77\u52d5\u3057\u3001<\/p>\n\n\n\n<p>&#8220;netsh interface portproxy add v4tov4 listenaddr=0.0.0.0 listenport=80 connectaddress=192.168.0.25 connectport=8080&#8221;<\/p>\n\n\n\n<p>\u3068\u5165\u529b\u3001\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067Windows PC\u4e0a\u3067 http:\/\/localhost\/ \u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3053\u3068\u3067<br>Mac\u306eDocker\u4e0a\u306e\u30da\u30fc\u30b8\u306b\u30a2\u30af\u30bb\u30b9\u53ef\u80fd\u3068\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u4eca\u56de\u8a2d\u5b9a\u3057\u305fnetsh \u3092\u5229\u7528\u3057\u305f\u30dd\u30fc\u30c8\u30d5\u30a9\u30ef\u30fc\u30c9\u306e\u8a2d\u5b9a\u3092\u524a\u9664\u3059\u308b\u306b\u306f<\/p>\n\n\n\n<p>&#8220;netsh interface portproxy delete v4tov4 listenaddr=0.0.0.0 listenport=80&#8221;<\/p>\n\n\n\n<p>\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u6c34\u66dc\u62c5\u5f53\uff1aTanaka<\/p>\n<div class='wp_social_bookmarking_light'>\n            <div class=\"wsbl_google_plus_one\"><g:plusone size=\"medium\" annotation=\"none\" href=\"https:\/\/www.gigas-jp.com\/appnews\/archives\/13390\" ><\/g:plusone><\/div>\n            <div class=\"wsbl_hatena_button\"><a href=\"\/\/b.hatena.ne.jp\/entry\/https:\/\/www.gigas-jp.com\/appnews\/archives\/13390\" class=\"hatena-bookmark-button\" data-hatena-bookmark-title=\"netsh\u30b3\u30de\u30f3\u30c9\u3092\u5229\u7528\u3057\u305f\u7c21\u5358\u306a\u30dd\u30fc\u30c8\u30d5\u30a9\u30ef\u30fc\u30c9\u306e\u8a2d\u5b9a\u65b9\u6cd5\" data-hatena-bookmark-layout=\"standard\" title=\"\u3053\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u3092\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af\u306b\u8ffd\u52a0\"> <img src=\"\/\/b.hatena.ne.jp\/images\/entry-button\/button-only@2x.png\" alt=\"\u3053\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u3092\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af\u306b\u8ffd\u52a0\" width=\"20\" height=\"20\" style=\"border: none;\" \/><\/a><script type=\"text\/javascript\" src=\"\/\/b.hatena.ne.jp\/js\/bookmark_button.js\" charset=\"utf-8\" async=\"async\"><\/script><\/div>\n            <div class=\"wsbl_twitter\"><a href=\"https:\/\/twitter.com\/share\" class=\"twitter-share-button\" data-url=\"https:\/\/www.gigas-jp.com\/appnews\/archives\/13390\" data-text=\"netsh\u30b3\u30de\u30f3\u30c9\u3092\u5229\u7528\u3057\u305f\u7c21\u5358\u306a\u30dd\u30fc\u30c8\u30d5\u30a9\u30ef\u30fc\u30c9\u306e\u8a2d\u5b9a\u65b9\u6cd5\" data-via=\"GIGASJAPAN_APPS\" data-lang=\"ja\">Tweet<\/a><\/div>\n            <div class=\"wsbl_facebook_like\"><div id=\"fb-root\"><\/div><fb:like href=\"https:\/\/www.gigas-jp.com\/appnews\/archives\/13390\" layout=\"button_count\" action=\"like\" width=\"100\" share=\"false\" show_faces=\"false\" ><\/fb:like><\/div>\n            <div class=\"wsbl_facebook_send\"><div id=\"fb-root\"><\/div><fb:send href=\"https:\/\/www.gigas-jp.com\/appnews\/archives\/13390\" colorscheme=\"light\" ><\/fb:send><\/div>\n    <\/div>\n<br class='wp_social_bookmarking_light_clear' \/>\n","protected":false},"excerpt":{"rendered":"<p>Docker\u3067\u5efa\u3066\u305f\u30ed\u30fc\u30ab\u30eb\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u5185\u306e\u4eee\u60f3\u30b5\u30fc\u30d0\u30fc\u306b\u30dd\u30fc\u30c8\u756a\u53f7\u3092\u6307\u5b9a\u305b\u305a\u306bURL\u3067\u30a2\u30af\u30bb\u30b9\u3057\u305f\u3044\u3053\u3068\u304c\u3042\u308a\u307e\u3057\u305f\u306e\u3067\u3001\u305d\u306e\u65b9\u6cd5\u3092\u8abf\u3079\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"author":17,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[72],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/posts\/13390"}],"collection":[{"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/comments?post=13390"}],"version-history":[{"count":2,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/posts\/13390\/revisions"}],"predecessor-version":[{"id":13392,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/posts\/13390\/revisions\/13392"}],"wp:attachment":[{"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/media?parent=13390"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/categories?post=13390"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/tags?post=13390"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}