<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Daniel OGIDAN</title>
    <description>The latest articles on DEV Community by Daniel OGIDAN (@ogidaniel1).</description>
    <link>https://dev.to/ogidaniel1</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F559458%2F54f27a9c-a9f2-4aa9-b5de-41aee5e51cb6.jpeg</url>
      <title>DEV Community: Daniel OGIDAN</title>
      <link>https://dev.to/ogidaniel1</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ogidaniel1"/>
    <language>en</language>
    <item>
      <title>Basic steps to setup offline connection of your local app</title>
      <dc:creator>Daniel OGIDAN</dc:creator>
      <pubDate>Sat, 03 Aug 2024 17:56:13 +0000</pubDate>
      <link>https://dev.to/ogidaniel1/basic-steps-to-setup-offline-connection-of-your-local-app-2hhb</link>
      <guid>https://dev.to/ogidaniel1/basic-steps-to-setup-offline-connection-of-your-local-app-2hhb</guid>
      <description>&lt;p&gt;&lt;strong&gt;Step 1:&lt;/strong&gt; ensure you are connected to same network. (wireless network or LAN, select private don’t use public connect)&lt;br&gt;
&lt;strong&gt;Step 2:&lt;/strong&gt; My flask apps running on on terminal vscode, or on git bash,:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fefk4jkkjfv1v4i15dgsc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fefk4jkkjfv1v4i15dgsc.png" alt="Image description" width="800" height="198"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 3:&lt;/strong&gt; use ipconfig on the cmd to check ip address: then ping&lt;br&gt;
&lt;strong&gt;Step 4:&lt;/strong&gt; open your notepad as an admin then navigate to &lt;em&gt;Step 4&lt;/em&gt;&lt;br&gt;
**Step 5: **on windows go to the hosts file like below:&lt;br&gt;
C:\Windows\System32\drivers\etc\hosts&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 6:&lt;/strong&gt; register the IP and name of link i.e (flaskapp.test) ensure there is space Between the IP and hostname address.&lt;br&gt;
&lt;strong&gt;Hosts setup edit.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fubwzpbvai9re0u3xyl4o.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fubwzpbvai9re0u3xyl4o.png" alt="Image description" width="710" height="559"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 7:&lt;/strong&gt; add rules on your windows defender firewall advanced threats security&lt;br&gt;
 Create &lt;strong&gt;new  rule&lt;/strong&gt; &lt;strong&gt;&amp;gt; rule type &amp;gt; select  port&amp;gt;check specific port&lt;/strong&gt; (add your port: 5000 or 8000 depending on app) &lt;strong&gt;&amp;gt;allow the connection &amp;gt;check all profile&amp;gt; add name of app&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fopojq2x4xelknctbf84j.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fopojq2x4xelknctbf84j.png" alt="Image description" width="731" height="476"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You can ping from other pc to check it they are connected: using ipconfig from your &lt;strong&gt;cmd&lt;/strong&gt; (command line) &lt;br&gt;
PS: if comd doesnt work normally you can try **powershell **on your machine.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqou7ol61kcdj13by43jv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqou7ol61kcdj13by43jv.png" alt="Image description" width="696" height="640"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Then you can restart your browser and PC. To check effect.&lt;/p&gt;

&lt;p&gt;On the other PC: just use the IP provided by your server on the &lt;strong&gt;Vscodes/bash/cmd/&lt;/strong&gt; with port number i.e: &lt;strong&gt;192.168.0.199:8000&lt;/strong&gt;  or &lt;strong&gt;192.168.0.199:7000&lt;/strong&gt; (depends on frameworks used)&lt;br&gt;
NB: all this setup are done on the PC the application is residing on, you can connect as many as possible device via the IP provided by your &lt;strong&gt;local server&lt;/strong&gt;. _ enjoy!_&lt;/p&gt;

&lt;p&gt;send mail to: &lt;a href="mailto:hoghidan1@gmail.com"&gt;hoghidan1@gmail.com&lt;/a&gt; for further information.&lt;br&gt;
cc: &lt;a href="https://www.twitter.com/ogidaniel1" rel="noopener noreferrer"&gt;https://www.twitter.com/ogidaniel1&lt;/a&gt;&lt;br&gt;
    &lt;a href="https://www.linekdin.com/in/ogidaniel1" rel="noopener noreferrer"&gt;https://www.linekdin.com/in/ogidaniel1&lt;/a&gt;&lt;/p&gt;

</description>
      <category>flask</category>
      <category>network</category>
      <category>ipconfig</category>
      <category>windows</category>
    </item>
  </channel>
</rss>
