A port is a number a network service listens on. Random Port Generator picks numbers from a range you choose. It cannot see which ports are already busy on your machine.

Pick two candidates

Set How many to 2, Min to 55000, and Max to 55003. Leave Unique checked, then choose Generate. Under Ports, you should see two different numbers, each between 55000 and 55003. The particular numbers will change on another run.

Set How many to 5 without widening the range. There are only four numbers available; in this case the tool can return duplicates even while Unique is checked. Check the results yourself if you need every number to differ.

Check on the actual host

A generated number is only a candidate. The tool does not scan a host, avoid a fixed list of common services, reserve a port, or set firewall rules. Before putting it in a service config, check the listening ports and allowed range on the machine where the service will run. A port that looks free here can still be taken there.

Where your input goes

Processing runs in your browser. The tool does not upload your input to ilham.dev.

For more background, read Network Debugging Notes.

Questions you might have

Does it check whether the port is free?
No. A browser cannot scan ports on another host. This picks numbers that are unlikely to clash — you still have to check your own machine.