Error in parallel pool

parpool('local', numWorkers);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Caused by:
Error using
parallel.internal.pool.SpfClientSession
Failed to open any port in the range [27370
28370]. Verify that at least one port is
available in this range and not in use by
another process on this machine. Cause:
Failed to bind to ::1:28370 with error:
Cannot assign requested address.

2 commentaires

Walter Roberson
Walter Roberson le 11 Août 2025
It sounds as if your matlab process is being restricted by an internal firewall
Raymond Norris
Raymond Norris le 22 Août 2025
Agreed. I'd suggest contact Technical Support (support@mathworks.com) to help troubleshoot this.

Connectez-vous pour commenter.

Réponses (1)

Mike Croucher
Mike Croucher le 11 Août 2025

0 votes

I'm curious, does a Thread pool work?
parpool("Threads")

Catégories

En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange

Produits

Version

R2024b

Tags

Question posée :

le 10 Août 2025

Commenté :

le 22 Août 2025

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by