<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Vinay Avvaru on Medium]]></title>
        <description><![CDATA[Stories by Vinay Avvaru on Medium]]></description>
        <link>https://medium.com/@saivinai9050?source=rss-d3d0f87adc60------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*e4zjFe4aVl5F7HT2fbcp9Q.jpeg</url>
            <title>Stories by Vinay Avvaru on Medium</title>
            <link>https://medium.com/@saivinai9050?source=rss-d3d0f87adc60------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 03:23:59 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@saivinai9050/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to Access Your React App on Another Device in the Same Network in 5 steps]]></title>
            <link>https://medium.com/@saivinai9050/how-to-access-your-react-app-on-another-device-in-the-same-network-in-5-steps-e3d2e5838ca7?source=rss-d3d0f87adc60------2</link>
            <guid isPermaLink="false">https://medium.com/p/e3d2e5838ca7</guid>
            <category><![CDATA[localhost]]></category>
            <category><![CDATA[hosting]]></category>
            <category><![CDATA[reactjs]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Vinay Avvaru]]></dc:creator>
            <pubDate>Thu, 10 Oct 2024 07:08:12 GMT</pubDate>
            <atom:updated>2024-10-10T07:08:43.381Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5g59si2Nfa0nYAECdAe8NQ.jpeg" /></figure><p>If you want to access your React app on multiple devices within the same network (either Wi-Fi or Ethernet), here’s a guide to help you achieve that. This can be helpful during development if you want to test how your app looks and behaves on other devices like mobile phones or laptops without needing to deploy it.</p><blockquote>Step 1: Ensure Both Devices Are on the Same Network</blockquote><blockquote>Step 2: Find the IP Address of the Laptop Running the App</blockquote><pre>In Terminal<br>For Linux:<strong>hostname -I</strong><br><br>In Command Prompt <br>For Windows: <strong>ipconfig</strong><br><br>In Terminal<br>For Mac: <strong>ifconfig</strong><br></pre><blockquote>Step 3: Update Your React App’s package.json</blockquote><h4><em>For linux:</em></h4><pre>&quot;scripts&quot;: {<br>  &quot;start&quot;: &quot;HOST=0.0.0.0 react-scripts start&quot;<br>}</pre><h4>For windows:</h4><pre>&quot;scripts&quot;: {<br>  &quot;start&quot;: &quot;set HOST=0.0.0.0 &amp;&amp; react-scripts start&quot;<br>}</pre><h4>For mac:</h4><pre>&quot;scripts&quot;: {<br>  &quot;start&quot;: &quot;HOST=0.0.0.0 react-scripts start&quot;<br>}</pre><blockquote>Step 4: Start Your React App</blockquote><pre>npm start</pre><blockquote>Step 5: Access the App from Another Device</blockquote><pre>// Example<br>If the local IP address was 192.168.1.10:<br>http://192.168.1.10:3000</pre><p>Once you enter this URL, the React app should load on the browser of the second device, allowing you to test and interact with it in real-time.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e3d2e5838ca7" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>