I can't get my server start on Minecraft 1.16.5 Fabric [closed]

I'm trying to start my fresh server on Fabric 1.16.5 but it's just crashing... can someone tell me how to fix it?

   [12:01:50] [main/WARN]: Ambiguity between arguments [teleport, location] and [teleport, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
   [12:01:50] [main/WARN]: Ambiguity between arguments [teleport, location] and [teleport, targets] with inputs: [0.1 -0.5 .9, 0 0 0]
   [12:01:50] [main/WARN]: Ambiguity between arguments [teleport, targets] and [teleport, destination] with inputs: [Player, 0123, dd12be42-52a9-4a91-a8a1-11c01849e498]
   [12:01:50] [main/WARN]: Ambiguity between arguments [teleport, targets, location] and [teleport, targets, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
   [12:01:50] [main/INFO]: Reloading ResourceManager: Default
   [12:01:50] [Worker-Main-11/INFO]: Loaded 7 recipes
   [12:01:51] [Worker-Main-11/INFO]: Loaded 927 advancements
   [12:01:54] [Server thread/INFO]: Starting minecraft server version 1.16.5
   [12:01:54] [Server thread/INFO]: Loading properties
   [12:01:54] [Server thread/INFO]: Default game type: SURVIVAL
   [12:01:54] [Server thread/INFO]: Generating keypair
   [12:01:54] [Server console handler/ERROR]: Exception handling console input
   java.io.IOException: The handle is invalid
       at java.io.FileInputStream.readBytes(Native Method) ~[?:1.8.0_281]
       at java.io.FileInputStream.read(Unknown Source) ~[?:1.8.0_281]
       at java.io.BufferedInputStream.read1(Unknown Source) ~[?:1.8.0_281]
       at java.io.BufferedInputStream.read(Unknown Source) ~[?:1.8.0_281]
       at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) ~[?:1.8.0_281]
       at sun.nio.cs.StreamDecoder.implRead(Unknown Source) ~[?:1.8.0_281]
       at sun.nio.cs.StreamDecoder.read(Unknown Source) ~[?:1.8.0_281]
       at java.io.InputStreamReader.read(Unknown Source) ~[?:1.8.0_281]
       at java.io.BufferedReader.fill(Unknown Source) ~[?:1.8.0_281]
       at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_281]
       at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_281]
       at net.minecraft.class_3176$1.run(class_3176.java:95) [intermediary-server.jar:?]
   [12:01:54] [Server thread/INFO]: Starting Minecraft server on *:25565
   [12:01:54] [Server thread/INFO]: Using default channel type
   [12:02:11] [Server thread/WARN]: **** FAILED TO BIND TO PORT!
   [12:02:11] [Server thread/WARN]: The exception was: java.net.BindException: Address already in use: bind
   [12:02:11] [Server thread/WARN]: Perhaps a server is already running on that port?
   [12:02:11] [Server thread/INFO]: Stopping server
   [12:02:11] [Server thread/INFO]: Saving worlds
   [12:02:11] [Server thread/ERROR]: Exception stopping the server
   java.lang.NullPointerException: null
       at net.minecraft.server.MinecraftServer.method_3723(MinecraftServer.java:572) ~[intermediary-server.jar:?]
       at net.minecraft.server.MinecraftServer.method_3782(MinecraftServer.java:599) ~[intermediary-server.jar:?]
       at net.minecraft.class_3176.method_3782(class_3176.java:567) ~[intermediary-server.jar:?]
       at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:707) ~[intermediary-server.jar:?]
       at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:257) ~[intermediary-server.jar:?]
       at java.lang.Thread.run(Unknown Source) [?:1.8.0_281]```


[12:02:11] [Server thread/WARN]: **** FAILED TO BIND TO PORT!

This is almost always because another server is running on this port. If you're hosting from a linux machine, you can check what processes are running using top, and using pkill java to kill any java processes

If you're on windows, you can try closing any applications from Task Manager, or as aytimothy pointed out, taskkill /f /im java.exe or taskkill /f /im javaw.exe

If none of this works, try changing the port to something other than 25565 in server.properties. You can try 25566 instead