Forrest logo
back to the iperf3 tool

iperf3:tldr:f7680

iperf3: Run an iperf3 server on a specific port.
$ iperf3 -s -p ${port}
try on your machine

The command "iperf3 -s -p ${port}" is used to start an iperf3 server on a specific port.

Here's a breakdown of the command:

  • "iperf3": This is the command to run the iperf3 application. iperf3 is a network testing tool used to measure the bandwidth and performance of a network.

  • "-s": This flag tells iperf3 to run in server mode. In server mode, iperf3 waits for incoming connections from iperf3 clients.

  • "-p ${port}": This flag specifies the port on which the iperf3 server should listen for connections. "${port}" here is a variable that should be replaced with the desired port number. For example, if you want the server to listen on port 5001, you would replace "${port}" with "5001", resulting in "-p 5001".

By running this command with the desired port number, you can start an iperf3 server that will listen for incoming connections on that specific port. Clients can then connect to this server using the iperf3 client application to perform network performance testing.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the iperf3 tool