Does the static IP provider specify it, or is it an arbitrary number you pick from a range?

For instance, where the proxy format would be: https://username:password@static_IP_address:portNumber


The answer is closer to "a number you pick from a range".

TCP works by having, among other fields a source and destination IP address and source and destination port. These 4 things are required for a unique session.

The port is a 2 byte number, so between 0 and 65535. Services are commonly associated with default ports, but these are typically just by convention. There is 1 bit which, depending on your OS may not be - on some OS's ports below 1024 are only accessible by the superuser account.

It is, of-course, the server that defines the port here.

  • Could you advise me on (or confirm) the following? I'm hoping to narrow down what information I should request from a client paying for this static IP. Along with the static IP address, I assume I should ask for the username/password, http type (http or https), and the port number. I want to be confident that I ask for nothing unneeded.
    – Phillip
    Jan 23 '21 at 3:32
  • Your question in the comment does not follow. What service are you providing this client?
    – davidgo
    Jan 23 '21 at 6:13
  • To clarify, he's not paying me for the static IP. He's my client in a related capacity, the point being I want to be sure not to confuse him. He needs to send me a paid proxy IP address I will use in an application I built for him (if that helps to know).
    – Phillip
    Jan 23 '21 at 8:57
  • 1
    I don't understand why you need anything more then the static IP address of his VPN. I still don't understand where a proxy comes into it. As to port ranges the VPN provider does not assign port ranges, it assigns an IP address. Ports are a property associated with an IP address [ for a TCP connection] and are determined by his computer and your server.
    – davidgo
    Jan 24 '21 at 23:21
  • 1
    [1] - in the sense that nothing has been rebutted on your end yet (you didn’t specify where I was wrong in my original and subsequent explanations).
    – Phillip
    Jan 26 '21 at 2:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.