- Firewall is blocking the required ports (27350–27450).
- Another process is using those ports.
- SELinux or permissions are blocking socket creation.
- Network misconfiguration (hostname/IP issue).
Failed to open publish sockets.
15 views (last 30 days)
Show older comments
On my RHEL server when I run the
MATALAB_ROOT/toolbox/parallel/bin/startjobmanager
script, I get the error:
"The mjs service on the host <hostname> returned an error.
The cause of the problem is:
failed to open publish sockets. Cannot publish SRV record.
This is causing:
null.
This is causing:
Problem starting the job manager lookup process. "
What does that mean?
0 Comments
Answers (1)
Aditya
on 19 Dec 2025 at 4:22
Hi Michael,
This error means the MATLAB Job Manager can’t open the network ports it needs to advertise itself.
Most common causes:
Quick fix steps:
1.Open the required ports on your firewall:
sudo firewall-cmd --permanent --add-port=27350-27450/tcp
sudo firewall-cmd --reload
2.Make sure no other process is using those ports.
3.Check SELinux (getenforce) and set to permissive for testing (setenforce 0).
4.Ensure your server has a valid IP address and hostname.
0 Comments
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!