Artifact [8b27591649]
Not logged in

Artifact 8b275916499c9329166be887f88493fd04f293e4:

Wiki page [find_free_port] by vitus on 2015-12-18 07:51:57.
D 2015-12-18T07:51:57.316
L find_free_port
N text/x-markdown
U vitus
W 457
This is helper script that finds port to bind for qemu spice interface.

Usage

    find_free_port nnnn

where nnnn is number of port to start search from.

This allows not to reserve port for each of your VMs. Typically you have much more stopped VMs than running, because VM consume many resources. And TCP ports are precious - there are just 65535 of them. 

**find_free_port** uses **netstat**(8) to find ports, used by some running processes.
Z 024185d750bcbad38aa979725abbf59d