Is it possible to force an web service client to talk from a specific range of port E.g. 4900- 4999 to a web server in port 80?
I understand now that there is client and server port numbers and need to create a client application to send http statuses to a web server but firewall team only opens ports 4900 to 4999 in the client.
Any ideas?
If you are using a web browser to connect to your server then you may be out of luck but as you said in your question that you are creating a client application you can do this with the
bindsystem call in both Windows and Linux (this code is in C):Then call
bind:If this call is successful (res is 0) you can then connect your socket to the server and you will be connecting from port 4901.