[GH-ISSUE #1107] [Question] Use proxyman with iOS device connected to the server on desktop #1100

Open
opened 2026-03-03 19:48:22 +03:00 by kerem · 2 comments
Owner

Originally created by @edw4rddx on GitHub (Jan 11, 2022).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1107

Originally assigned to: @NghiaTranUIT on GitHub.

Proxyman version? (Ex. Proxyman 1.4.3)

Version 2.35.3 (23530)

macOS Version? (Ex. mac 10.14)

11.6

I am running localhost server (website) on the desktop, device is connected to the desktop via proxyman proxy.
Is it possible to use localhost server on desktop with my iOS app on physical device?

Originally created by @edw4rddx on GitHub (Jan 11, 2022). Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1107 Originally assigned to: @NghiaTranUIT on GitHub. ### Proxyman version? (Ex. Proxyman 1.4.3) Version 2.35.3 (23530) ### macOS Version? (Ex. mac 10.14) 11.6 I am running localhost server (website) on the desktop, device is connected to the desktop via proxyman proxy. Is it possible to use localhost server on desktop with my iOS app on physical device?
Author
Owner

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

Hey @edw4rddx it's possible and there are many solution.

Assume you have a localhost server, which runs at port 3000.

Solution 1 (Easiest)

  1. Make sure you connect your iPhone to Proxyman on Mac and you're able to see iPhone traffic as usual. (If you don't know how to do it, please open Certificate Menu -> Install Certificate for iOS -> Physical Device)
  2. On your iPhone, to access your localhost:3000, please use localhost.proxyman.io:3000, it will redirect to your localhost:3000. (Please change the port, if you use different port number)
Screen Shot 2022-01-11 at 21 30 59

IMG_0BC8A03E4E73-1

Alternative

<!-- gh-comment-id:1010024202 --> @NghiaTranUIT commented on GitHub (Jan 11, 2022): Hey @edw4rddx it's possible and there are many solution. Assume you have a localhost server, which runs at port 3000. ### Solution 1 (Easiest) 1. Make sure you connect your iPhone to Proxyman on Mac and you're able to see iPhone traffic as usual. (If you don't know how to do it, please open Certificate Menu -> Install Certificate for iOS -> Physical Device) 2. On your iPhone, to access your localhost:3000, please use `localhost.proxyman.io:3000`, it will redirect to your localhost:3000. (Please change the port, if you use different port number) <img width="1759" alt="Screen Shot 2022-01-11 at 21 30 59" src="https://user-images.githubusercontent.com/5878421/148962386-1e079811-6868-4aa7-9ef2-ec7f06fd4a00.png"> ![IMG_0BC8A03E4E73-1](https://user-images.githubusercontent.com/5878421/148962449-2bab9e80-a203-4bac-ae13-298d107ae46d.jpeg) ### Alternative - https://stackoverflow.com/questions/3132105/how-do-you-access-a-website-running-on-localhost-from-iphone-browser
Author
Owner

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

The reason why you could not directly access localhost:3000 from your iPhone is that all localhost traffic doesn't go through the HTTP Proxy Server, which you config in the Setting -> Wifi.

Use the trick localhost:proxyman.io:<port> will make sure it goes through the Proxyman app (on your Mac), and visit the actual local server 👍

<!-- gh-comment-id:1010026637 --> @NghiaTranUIT commented on GitHub (Jan 11, 2022): The reason why you could not directly access `localhost:3000` from your iPhone is that all localhost traffic doesn't go through the HTTP Proxy Server, which you config in the Setting -> Wifi. Use the trick `localhost:proxyman.io:<port>` will make sure it goes through the Proxyman app (on your Mac), and visit the actual local server 👍
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#1100
No description provided.