<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>na_ah</author_name>
  <author_url>https://blog.hatena.ne.jp/na_ah/</author_url>
  <blog_title>na_ahのブログ</blog_title>
  <blog_url>https://na-ah.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>こんにちは！ 今回はWSL上のRailsにLAN内のスマホからアクセスする方法についてまとめます。 やりたいこと WSL1で動かしているUbuntu内のRailsアプリケーションに、同じLan内のスマホからアクセスする 方法 Railsサーバー立ち上げ時にrails server --binding=0.0.0.0と指定する 何も指定しない状態だとLAN内からはアクセスできない ファイアウォールなどが反応した場合許可する Windowsのコマンドプロンプトからipconfigを実行し、IPv4アドレス欄からIPを確認 Wi-Fiであれば、Wireless LAN adapter Wi-Fiの項…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fna-ah.hatenablog.com%2Fentry%2F2024%2F01%2F16%2F224203&quot; title=&quot;WSL上のRailsにLAN内のスマホからアクセスする方法 - na_ahのブログ&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-01-16 22:42:03</published>
  <title>WSL上のRailsにLAN内のスマホからアクセスする方法</title>
  <type>rich</type>
  <url>https://na-ah.hatenablog.com/entry/2024/01/16/224203</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
