Skip to content
This repository has been archived by the owner on Jan 13, 2023. It is now read-only.

Using another proxy other than 8100 #17

Open
KingHueyy opened this issue Apr 13, 2019 · 6 comments
Open

Using another proxy other than 8100 #17

KingHueyy opened this issue Apr 13, 2019 · 6 comments

Comments

@KingHueyy
Copy link

KingHueyy commented Apr 13, 2019

Hello, is it possible to use a proxy other than 8100? I can get my build running on the phone utilizing other proxies like 8102 or 8103 but when I try and run wdaproxy 8102 I get “502 Bad Gateway”. Can you advise?

@codeskyblue
Copy link
Member

Yes, now only support device wda listen port is 8100

@KingHueyy
Copy link
Author

Why is that? Can I adjust something so it’s not just 8100? I’m trying to run multiple instances for connected devices.

@codeskyblue
Copy link
Member

8100 is listening on the device, so you no need to change it. wdaproxy listen port can be changed by --port

@KingHueyy
Copy link
Author

I have the build running on 8102 and when I run WDAProxy via --port 8102 I get "502 Bad Gateway"

@KingHueyy
Copy link
Author

I have solved this. The command line needs to run 8100 to match iproxy / local host and then you can port forward from their using WDA proxy. Thanks for your help!

@LeeKayBee
Copy link

I have solved this. The command line needs to run 8100 to match iproxy / local host and then you can port forward from their using WDA proxy. Thanks for your help!

Hey @KingHueyy that is awesome! Bit of a noob here so do you mind explaining detailed steps for this? I'm trying to achieve something similar.

Do i need to run iproxy first and then wda? I have established a connection to the phone before and could use airtest wireless from pc - > iphone but now I'm just getting 502 bad gateway error.

Please just go through your set up steps if possible : )

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants