# I could not see any requests from my localhost server

## 1. Problem: I develop a local NodeJS, Ruby, or Python Backend at **<http://localhost:3000>**, but when I visit **<http://localhost:3000>** from Google Chrome, Safari  -> There is no traffic on the Proxyman app.

**Why does this happen?** By default, on macOS, all localhost requests don't go through the System HTTP Proxy. Therefore, there is no traffic recorded by Proxyman app.

### 2. Solution

There are two solutions to fix it: You should follow either one of the following solutions.

### Solution 1: Map **localhost** to the domain name in `/etc/hosts` (recommended ✅)

1. Open `etc/hosts` file

```
$ sudo vim /etc/hosts
```

2\. Add Domain Name with both **IPv4** and **IPv6** (You can change the `proxyman.local` with your name)

```
127.0.0.1 proxyman.local
::1 proxyman.local
```

![](/files/-M_yh77RcJmDag7s3em1)

3\. Save the file with `sudo` permission

4\. Follow [this guideline](/~/revisions/CTFzuwrlmsieJaiDVRDD/troubleshooting/.local-doesnt-appear-in-proxyman.md#2-solution) to make sure `*.local` traffic isn't in the proxy bypass list

5\. Access your localhost server by **<http://proxyman.local:3000>** (replace 3000 with your localhost ports)&#x20;

6\. Enjoy debugging!

![](/files/-M5kkqMh_FCLKY6nHCUw)

{% hint style="info" %}
Make sure you add both **IPv4** (`127.0.0.1 proxyman.local`) and **IPv6** (`::1 proxyman.local`). Otherwise, you might encounter the **5 seconds DNS delay**.

Read more at <https://superuser.com/a/1596341>
{% endhint %}

### Solution 2: Use **localhost.proxyman.io** instead of **localhost**

Proxyman uses Cloudflare and sets the DNS of **localhost.proxyman.io** to 127.0.0.1 (localhost). As a result, Proxyman can capture the local traffic as usual ✅&#x20;

For example:

<table data-header-hidden><thead><tr><th width="374">Old URL</th><th>New URL</th></tr></thead><tbody><tr><td>Old URL</td><td>New URL</td></tr><tr><td>localhost:3000</td><td>localhost.proxyman.io:3000</td></tr><tr><td>localhost:8080</td><td>localhost.proxyman.io:8080</td></tr><tr><td>...</td><td>...</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.proxyman.com/~/revisions/CTFzuwrlmsieJaiDVRDD/troubleshooting/couldnt-see-any-request-from-localhost-server.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
