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 件のコメント

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

サインインしてコメントする。

回答 (1 件)

Mike Croucher
Mike Croucher 2025 年 8 月 11 日

0 投票

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

カテゴリ

ヘルプ センター および File ExchangeStartup and Shutdown についてさらに検索

製品

リリース

R2024b

タグ

質問済み:

2025 年 8 月 10 日

コメント済み:

2025 年 8 月 22 日

Community Treasure Hunt

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

Start Hunting!

Translated by