<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tksfj17</author_name>
  <author_url>https://blog.hatena.ne.jp/tksfj17/</author_url>
  <blog_title>学習帳</blog_title>
  <blog_url>https://tksfj17.hatenablog.com/</blog_url>
  <categories>
    <anon>プログラミング</anon>
  </categories>
  <description>結論 package.json にwebpack-dev-server の起動コマンドを書きますが、 &quot;scripts&quot;: { &quot;start&quot;: &quot;webpack-dev-server --host 0.0.0.0&quot;, }, というように &quot;--host 0.0.0.0&quot; の追記が必要です。ホストからアクセスするときは http://127.0.0.1:${任意のポート番号} http://0.0.0.0:${任意のポート番号} のどちらでもアクセスできました。 経緯 ホストのVirtual Box上でubuntu Linuxを動作させ、Reactの動作検証用にwebpack開発サーバー（we…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftksfj17.hatenablog.com%2Fentry%2F2018%2F02%2F15%2F220108&quot; title=&quot;ホストからVirtual Box上の webpack-dev-server にアクセスできない - 学習帳&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://images-fe.ssl-images-amazon.com/images/I/511CqeD4sXL._SL160_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-02-15 22:01:08</published>
  <title>ホストからVirtual Box上の webpack-dev-server にアクセスできない</title>
  <type>rich</type>
  <url>https://tksfj17.hatenablog.com/entry/2018/02/15/220108</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
