Configure Fiddler to use predefined port instead of random when 8888 is not available

485 views
Skip to first unread message

Joey Resuento

unread,
Jun 16, 2015, 12:49:32 PM6/16/15
to httpf...@googlegroups.com
I would like to ask if its possible and how to configure fiddler to use predefined ports instead of random ports when 8888 is not available. 


If I ticked no, I have the option to configure the port number on fiddler and restart it but I would like to configure it automatically.

Thanks

EricLaw

unread,
Jun 18, 2015, 8:33:59 AM6/18/15
to httpf...@googlegroups.com
I'm not sure I understand the scenario... what do you mean by "pre-defined ports"? You can specify the port for Fiddler to use via Tools > Fiddler Options > Connections, but if that port is in use a random port will be selected.

You can get Fiddler to use a random port on startup using the port command-line argument fiddler.exe -port:0, or you can specify a non-zero value to use a specific port.

I'm interested in learning more about your scenario.

Joey Resuento

unread,
Jun 18, 2015, 10:45:37 AM6/18/15
to httpf...@googlegroups.com
Hi Eric,

The port command-line argument is a very helpful info and we'll use it to get started.

Scenario:
We have enabled port forwarding in a remote server so it can be accessible outside the local network. This enables us to add a proxy on mobile devices that resides in the cloud however the challenge is we only have specific ports enabled for port forwarding so we cannot use the random port generated by fiddler when multiple users are accessing the remote server and using fiddler at the same time.

Thanks
Joey
Reply all
Reply to author
Forward
0 new messages