[GH-ISSUE #1112] Don't see any request to nginx (local or dockerised) #1107

Closed
opened 2026-03-03 19:48:25 +03:00 by kerem · 6 comments
Owner

Originally created by @indapublic on GitHub (Jan 14, 2022).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1112

Originally assigned to: @NghiaTranUIT on GitHub.

Proxyman version? (Ex. Proxyman 1.4.3)

Version 2.35.4 (23540)

macOS Version? (Ex. mac 10.14)

11.6 (20G165)

Steps to reproduce

  1. Open Proxyman
  2. Open Google Chrome
  3. Open http://127.0.0.1:8080/ (local) or http://127.0.0.1:10000 (dockerised)

Expected behavior

See request in Proxyman

Screenshots (optional)

image

What I did wrong?

Originally created by @indapublic on GitHub (Jan 14, 2022). Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1112 Originally assigned to: @NghiaTranUIT on GitHub. ### Proxyman version? (Ex. Proxyman 1.4.3) Version 2.35.4 (23540) ### macOS Version? (Ex. mac 10.14) 11.6 (20G165) ### Steps to reproduce 1. Open Proxyman 2. Open Google Chrome 3. Open http://127.0.0.1:8080/ (local) or http://127.0.0.1:10000 (dockerised) ### Expected behavior See request in Proxyman ### Screenshots (optional) <img width="1408" alt="image" src="https://user-images.githubusercontent.com/856260/149493185-2513fd5c-9dbe-437b-8c43-b35e9264386b.png"> What I did wrong?
kerem closed this issue 2026-03-03 19:48:26 +03:00
Author
Owner

@NghiaTranUIT commented on GitHub (Jan 14, 2022):

You didn't do any wrong. The reason is that localhost traffic doesn't go through HTTP Proxy by default. The system ignores them.

You can fix it by either:

  1. Use localhost.proxyman.io:8080 or localhost.proxyman.io:10000
  2. Or using your alias name in /etc/hosts

Read more at Doc: https://docs.proxyman.io/troubleshooting/couldnt-see-any-request-from-localhost-server


Please let me know if it works 👍

<!-- gh-comment-id:1012957998 --> @NghiaTranUIT commented on GitHub (Jan 14, 2022): You didn't do any wrong. The reason is that localhost traffic doesn't go through HTTP Proxy by default. The system ignores them. You can fix it by either: 1. Use `localhost.proxyman.io:8080` or `localhost.proxyman.io:10000` 2. Or using your alias name in /etc/hosts Read more at Doc: https://docs.proxyman.io/troubleshooting/couldnt-see-any-request-from-localhost-server ------- Please let me know if it works 👍
Author
Owner

@indapublic commented on GitHub (Jan 14, 2022):

Thanks for so quick response, @NghiaTranUIT ! Works like a charm. What if I'm want to send those requests from another machine in my local network (e.g. http://10.0.88.188:10000)?

<!-- gh-comment-id:1012961404 --> @indapublic commented on GitHub (Jan 14, 2022): Thanks for so quick response, @NghiaTranUIT ! Works like a charm. What if I'm want to send those requests from another machine in my local network (e.g. http://10.0.88.188:10000)?
Author
Owner

@NghiaTranUIT commented on GitHub (Jan 14, 2022):

Sorry, but I don't understand how to "Send a request from another machine to my local network" 🤔 ?

Can you give an example?

<!-- gh-comment-id:1012963336 --> @NghiaTranUIT commented on GitHub (Jan 14, 2022): Sorry, but I don't understand how to "Send a request from another machine to my local network" 🤔 ? Can you give an example?
Author
Owner

@indapublic commented on GitHub (Jan 14, 2022):

I have two machines in my local network at home. I want to open website (which hosted on my machine #1 with proxyman) from machine #2. Some confused how I can to use localhost.proxyman.io in this case.

<!-- gh-comment-id:1012965100 --> @indapublic commented on GitHub (Jan 14, 2022): I have two machines in my local network at home. I want to open website (which hosted on my machine #1 with proxyman) from machine #2. Some confused how I can to use `localhost.proxyman.io` in this case.
Author
Owner

@NghiaTranUIT commented on GitHub (Jan 14, 2022):

It's quite tricky to do it:

Let assume that the second machine it's your iPhone. Now, you would like to use iPhone to access a server (http://10.0.88.188:10000), which hosts on your Macbook + Proxyman.

From what I remember, you can easily do it.

  1. Open Proxyman on your Macbook. Make sure you can visit your website by using http://localhost.proxyman.io:10000
  2. Get your iPhone -> Setting app -> Wifi (Make sure they are in the same network) -> Proxy -> Set an IP and Port to your Mac Machine.

You can find the IP and Port in Proxyman Certifiacte menu -> Install on iOS -> Physical Device -> Step 2 => (You don't need to do step 3,4,5 ).

  1. ON your iPhone -> Open Safari -> http://localhost.proxyman.io:10000 -> It will work

If you would like your alias name, it's trickier, since you have to set up a Share Network. Read more at https://stackoverflow.com/a/3132119/3127477


For the second Mac, you can do the same thing as the iPhone. Change the Wifi Proxy (Network -> Wifi -> Advanced -> Proxies tab).

<!-- gh-comment-id:1012970223 --> @NghiaTranUIT commented on GitHub (Jan 14, 2022): It's quite tricky to do it: Let assume that the second machine it's your iPhone. Now, you would like to use iPhone to access a server (http://10.0.88.188:10000), which hosts on your Macbook + Proxyman. From what I remember, you can easily do it. 1. Open Proxyman on your Macbook. Make sure you can visit your website by using http://localhost.proxyman.io:10000 2. Get your iPhone -> Setting app -> Wifi (Make sure they are in the same network) -> Proxy -> Set an IP and Port to your Mac Machine. You can find the IP and Port in Proxyman Certifiacte menu -> Install on iOS -> Physical Device -> Step 2 => (You don't need to do step 3,4,5 ). 3. ON your iPhone -> Open Safari -> http://localhost.proxyman.io:10000 -> It will work ----------- If you would like your alias name, it's trickier, since you have to set up a Share Network. Read more at https://stackoverflow.com/a/3132119/3127477 ------------- For the second Mac, you can do the same thing as the iPhone. Change the Wifi Proxy (Network -> Wifi -> Advanced -> Proxies tab).
Author
Owner

@indapublic commented on GitHub (Jan 14, 2022):

Awesome! Thanks @NghiaTranUIT Sorry for dumb questions.

<!-- gh-comment-id:1012982063 --> @indapublic commented on GitHub (Jan 14, 2022): Awesome! Thanks @NghiaTranUIT Sorry for dumb questions.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Proxyman#1107
No description provided.