<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>n73_ch</author_name>
  <author_url>https://blog.hatena.ne.jp/n73_ch/</author_url>
  <blog_title>kosaku namikawaのメモ</blog_title>
  <blog_url>https://n73-ch.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>めっちゃ小ネタなんですが、備忘録として書いておく。 状況としては、Azure Functionをローカルで動かしてたときに、テストを自動化したくてaxiosで検証用アプリを作ってた時の話。 ブラウザだとうまくいく（この時は400エラーを返すようにしてたけどw）、axiosだと何故かECONNREFUSEDを返すと。 wiresharkで見てみると、ブラウザは127.0.0.1でアクセスしてたんだけど、axiosは::1でアクセスしようとしてることがわかった。 なんで、この状況になるのかよくわかってないけど、axiosはIPv6を優先してるのかな...?（まあ、Azure FunctionがIP…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fn73-ch.hateblo.jp%2Fentry%2F2023%2F08%2F12%2F013919&quot; title=&quot;axiosで送信元IPアドレスをIPv4で指定したい場合 - kosaku namikawaのメモ&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>2023-08-12 01:39:19</published>
  <title>axiosで送信元IPアドレスをIPv4で指定したい場合</title>
  <type>rich</type>
  <url>https://n73-ch.hateblo.jp/entry/2023/08/12/013919</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
