more ports to same ip

Tom Clan 1 Reputation point
2021-01-30T05:40:17.13+00:00

How can I assign the same IP to different ports for a server?

The problem is that they attack the port of the application and I only have one port assigned to that application. I know that several ports can be used for the same application, or how to make it possible that when an attack receives the port, for example 1, it changes to the port. 2 or 3 to avoid the server crashing or users cannot enter.

Windows for business | Windows Client for IT Pros | Devices and deployment | Configure application groups
Windows for business | Windows Server | Devices and deployment | Configure application groups
0 comments No comments
{count} votes

5 answers

Sort by: Most helpful
  1. Reza-Ameri 17,341 Reputation points Volunteer Moderator
    2021-01-30T17:03:43.533+00:00

    What type of application is that?
    In case is it a web application, you may do this using web server (for example IIS) or using Web.config and configure it.

    0 comments No comments

  2. Tom Clan 1 Reputation point
    2021-01-30T17:27:03.74+00:00

    is a game server fivem server, the main problem person have is they attack fivem port and server goes on "network thread hitch warning: timer interval of xxx milliseconds"

    and they have to restart the game server in order to gamers enter to the server again, and we know servers hosting give you the ip address plus four of the gaming ports in

    order to mitigate this problem , that's my question how i can setup the vps to do the same with the person server.

    0 comments No comments

  3. Reza-Ameri 17,341 Reputation points Volunteer Moderator
    2021-01-31T16:08:21.647+00:00

    FiveM is not a Microsoft product and we couldn't provide you much help on that.
    I recommend you to check with their supports:
    https://docs.fivem.net/docs/support/

    0 comments No comments

  4. Tom Clan 1 Reputation point
    2021-01-31T17:48:03.697+00:00

    Mr. Reza-Ameri I appreciate the help you are giving me but please do not divert the question, you asked what application it was and I answered you, the question is not about the application the question is about how in windows server 2016 Datacenter I can make an ip in I specify that I can continue to provide a service to any application through the multiple ports option, if the problem is that I mention the application then let's put another practice for which I also need a solution that is exactly the same.

    I have people attacking the X application that uses different ports but in my vps I only have one port assigned to it, since I don't know how to assign more ports to the same IP but that they are recognized by the X application, is there a way to solve this by assigning several ports but that the application can understand if they attack one of the ports, migrate alone to the next port and can continue to provide the service?

    In the page I referred to before they only say that it is a deficiency of the vps or the windows that runs it in linux and that the problem goes away, I honestly do not believe that this is a viable solution

    V/R
    Tom

    0 comments No comments

  5. MotoX80 36,416 Reputation points
    2021-01-31T18:39:08.77+00:00

    since I don't know how to assign more ports to the same IP but that they are recognized by the X application,

    Is this a server hosting question or an application configuration question?

    You don't "assign a port to an IP", you have to configure the application to listen on the additional ports. Your hosting provider and firewall configuration would need to expose that port to the internet.

    Consider IIS. Standard ports are 80 for HTTP and 443 for HTTPS. But here in the bindings I have added 8080 and 8081. But the client would need to know that ports 8080 and 8081 are an option. A request to port 80 is not going to automatically failover to 8081 unless you use a network load balancer. But in that case, I think that all it will do is to move your attackers over to the alternative port.

    If your FiveM application is encountering a DDOS attack, you might have better luck asking about that in a FiveM forum.

    62252-capture.jpg

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.