Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Port Availability Check and Free Port Finder Function
Description: This PR introduces a mechanism to check whether a specific port is available and to recursively find a free port if needed. The isPortAvailable function checks if a port is already in use. If the port is occupied, the getFreePortWithCheck function will continue searching for an available port. This helps prevent port conflicts and ensures the application runs smoothly.
- Loading branch information