---
title: "Discussion on \"How to Test Your Local Dev Server on Your Phone\" | Hashnode"
description: "Discussion on \"How to Test Your Local Dev Server on Your Phone\". The page loads, then every API call fails. Here's why localhost breaks on a phone, and the two settings that fix it."
url: "https://hashnode.com/posts/how-to-test-your-local-dev-server-on-your-phone/6aec9df54cc618fd6af6807f"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Test Your Local Dev Server on Your Phone](https://portlivo.hashnode.dev/how-to-test-your-local-dev-server-on-your-phone?utm_source=hashnode&utm_medium=feed)

The page loads, then every API call fails. Here's why localhost breaks on a phone, and the two settings that fix it.

6d ago · 7 min read · portlivo.hashnode.dev  
Read the article

-   [#web-development](https://hashnode.com/tag/web-development)
-   [#vite](https://hashnode.com/tag/vite)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#mobile-development](https://hashnode.com/tag/mobile-development)
-   [#programming-tips](https://hashnode.com/tag/programming-tips)

## Written by

[Anmol Sethi](https://hashnode.com/@anmolsethi)

@anmolsethi · Mumbai, India

  
[View profile](https://hashnode.com/@anmolsethi)

Indie Developer · Building digital products

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
