How can I open specific ports on a handheld?

199 Views Asked by At

I have struggled and wrangled with this problem on-and-off-and-on again for a good while now: getting my custom app on my handheld device to make REST calls to an app running on the network, or at least, as a start, on the PC to which the handheld is tethered via USB cable.

I actually got this to work for a brief time and then got distracted with other things, I guess, and forgot how I did it, and/or my device's settings got changed, or something.

I came across this clue in some old notes of mine, though:

~~~~~~~~~~~~~~~~~~~~~~~~

*Aha! Once I added 80 and 8080 as ports to allow (but how I did that, I no longer remember), I am now able to successfully call the REST method from the handheld. I'll check the .pcap contents of a successful send and see how this changes what I saw/posted above.

~~~~~~~~~~~~~~~~~~~~~~~~

I assume that the allowance of ports needs to be done on the handheld - or is it the PC? Or both? At any rate, as my parenthetic pathetic aside says, I don't remember at all what I did. Does anybody know how these ports can be allowed? Better yet, can it done in code, so that, even if somebody "monkeys with" the device, when the app runs, it will open those ports back up?

UPDATE

If it's a matter of configuring the Firewall, what do I need to do? I opened Windows Farwall, and it presents me with an embarassment of "riches" (the forest/trees conundrum):

enter image description here

Is this where I allow ports 80 and 8080, and if so, how exactly?

0

There are 0 best solutions below