Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Port Availability Check and Free Port Finder Function #1401

Closed
wants to merge 2 commits into from

Conversation

erdncyz
Copy link
Contributor

@erdncyz erdncyz commented Sep 26, 2024

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.

Ticket : #1340

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.
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.
Copy link

vercel bot commented Sep 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
appium-device-farm-bre4 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 26, 2024 6:33pm

@erdncyz erdncyz closed this by deleting the head repository Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant