check-carla-ports
Skill15k starsChanged 21 months agoMITView on GitHub
Reports which network ports CARLA and its tooling use on this machine and which are already taken — the simulator's RPC/streaming/secondary trio, the Traffic Manager, the Unreal MCP server, Alpamayo, NuRec and Cosmos — and names the process holding each one. Use before starting a second simulator or Traffic Manager, when a bind error appears ("failed to create because of bind error", "CARLA server failed to start on RPC port"), when a client connects to the wrong instance, or to pick a free port for a parallel run.
Adopted by
Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data
Who's talking about carla-simulator/carla
- CARLA Simulator“CARLA 0.9.15 release”YouTube · Nov 10, 2023 · 49k views
- CARLA Simulator“CARLA 0.10.0 release video”YouTube · Dec 19, 2024 · 49k views
- CARLA Simulator“CARLA 0.9.13”YouTube · Nov 16, 2021 · 47k views
- CARLA Simulator“CARLA Autonomous Driving Challenge”YouTube · Mar 11, 2019 · 41k views
- CARLA Simulator“CARLA 0.9.11”YouTube · Dec 23, 2020 · 41k views
The biggest 5 of 87 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 87
Talked about on GitHub, YouTube, Stack Overflow and Hacker News (87 times).
On GitHub · 50
- Apr 5, 2020Freeze when importing CARLA and Torchvision (jit.script related) — pytorch/pytorch11 reactions · 3 comments
- Jun 17, 2020Supporting ros noetic — carla-simulator/ros-bridge10 reactions · 7 comments
- Dec 19, 2018Reproducing Results — carla-simulator/reinforcement-learning10 reactions · 1 comment
- Aug 8, 2021Optical flow camera — microsoft/AirSim3 reactions · 7 comments
- Nov 12, 2026Upgrade to CARLA 1.0.0 — openads-project/openadsim1 reaction
45 more on GitHub
- Jun 12, 2026fix(LibCarla): port lane marking, waypoint loop, lane corners, and pugixml null fixes — headerslow/carla-pr9652-b52c1 reaction · 12 comments
- Nov 29, 2024Error: can't find the file /CarlaUE4.sh — ucd-dare/CarDreamer1 reaction · 1 comment
- Oct 23, 2024Windows — javyduck/ChatScene1 reaction
- May 25, 2022Issue with the object location coordinate transformation from CARLA to kitti — enginBozkurt/carla-training-data1 reaction · 5 comments
- Nov 5, 2026feat(maps): install verified CARLA town road maps (D3) — adarsh-nl/coperceive0 reactions
- Nov 3, 2026fix(LibCarla): port lane marking, waypoint loop, lane corners, and pugixml null fixes — huasiy/carla-pr9652-d46e0 reactions
- Nov 2, 2026agent-skills.github.carla-simulator.carla: 0.10.0-unstable-2026-10-30 → 1.0 — sudosubin/agents.nix0 reactions
- Nov 2, 2026agent-plugins.github.carla-simulator.carla: 0.10.0-unstable-2026-10-30 → 1.0 — sudosubin/agents.nix0 reactions
- Oct 30, 2026agent-skills.github.carla-simulator.carla: 538eceb → 2466fff — sudosubin/agents.nix0 reactions
- Oct 30, 2026agent-plugins.github.carla-simulator.carla: 51e9b20 → daf8b37 — sudosubin/agents.nix0 reactions
- Oct 30, 2026agent-skills.github.carla-simulator.carla: 4f046bb → 538eceb — sudosubin/agents.nix0 reactions
- Oct 30, 2026agent-plugins.github.carla-simulator.carla: 0.10.0-unstable-2026-10-29 → 0.10.0-unstable-2026-10-30 — sudosubin/agents.nix0 reactions
- Oct 30, 2026agent-skills.github.carla-simulator.carla: 0.10.0-unstable-2026-10-29 → 0.10.0-unstable-2026-10-30 — sudosubin/agents.nix0 reactions
- Oct 29, 2026agent-plugins.github.carla-simulator.carla: 69bd015 → e6de47b — sudosubin/agents.nix0 reactions
- Oct 29, 2026agent-skills.github.carla-simulator.carla: 69bd015 → e6de47b — sudosubin/agents.nix0 reactions
- Oct 29, 2026agent-plugins.github.carla-simulator.carla: 0.10.0-unstable-2026-10-28 → 0.10.0-unstable-2026-10-29 — sudosubin/agents.nix0 reactions
- Oct 29, 2026agent-skills.github.carla-simulator.carla: 0.10.0-unstable-2026-10-28 → 0.10.0-unstable-2026-10-29 — sudosubin/agents.nix0 reactions
- Oct 28, 2026agent-skills.github.carla-simulator.carla: 0.10.0-unstable-2026-10-27 → 0.10.0-unstable-2026-10-28 — sudosubin/agents.nix0 reactions
- Oct 28, 2026agent-plugins.github.carla-simulator.carla: 0.10.0-unstable-2026-10-27 → 0.10.0-unstable-2026-10-28 — sudosubin/agents.nix0 reactions
- Oct 27, 2026agent-skills.github.carla-simulator.carla: ccbe5d9 → 7bb47bc — sudosubin/agents.nix0 reactions
- Oct 27, 2026agent-plugins.github.carla-simulator.carla: 0.10.0-unstable-2026-10-26 → 0.10.0-unstable-2026-10-27 — sudosubin/agents.nix0 reactions
- Oct 27, 2026agent-skills.github.carla-simulator.carla: 0.10.0-unstable-2026-10-26 → 0.10.0-unstable-2026-10-27 — sudosubin/agents.nix0 reactions
- Oct 26, 2026agent-skills.github.carla-simulator.carla: 08edf58 → 5aff00d — sudosubin/agents.nix0 reactions
- Oct 26, 2026agent-plugins.github.carla-simulator.carla: 0.10.0-unstable-2026-10-22 → 0.10.0-unstable-2026-10-26 — sudosubin/agents.nix0 reactions
- Oct 26, 2026agent-skills.github.carla-simulator.carla: 0.10.0-unstable-2026-10-22 → 0.10.0-unstable-2026-10-26 — sudosubin/agents.nix0 reactions
- Oct 22, 2026agent-plugins.github.carla-simulator.carla: 0.10.0-unstable-2026-10-08 → 0.10.0-unstable-2026-10-22 — sudosubin/agents.nix0 reactions
- Oct 22, 2026agent-skills.github.carla-simulator.carla: 0.10.0-unstable-2026-10-19 → 0.10.0-unstable-2026-10-22 — sudosubin/agents.nix0 reactions
- Oct 19, 2026agent-skills.github.carla-simulator.carla: 0.10.0-unstable-2026-10-16 → 0.10.0-unstable-2026-10-19 — sudosubin/agents.nix0 reactions
- Oct 16, 2026agent-skills.github.carla-simulator.carla: 0.10.0-unstable-2026-10-15 → 0.10.0-unstable-2026-10-16 — sudosubin/agents.nix0 reactions
- Oct 15, 2026agent-skills.github.carla-simulator.carla: 0.10.0-unstable-2026-10-14 → 0.10.0-unstable-2026-10-15 — sudosubin/agents.nix0 reactions
- Oct 14, 2026agent-skills.github.carla-simulator.carla: 0.10.0-unstable-2026-10-13 → 0.10.0-unstable-2026-10-14 — sudosubin/agents.nix0 reactions
- Oct 14, 2026agent-plugins.github.carla-simulator.carla: 0.10.0-unstable-2026-10-13 → 0.10.0-unstable-2026-10-08 — sudosubin/agents.nix0 reactions
- Oct 14, 2026agent-plugins.github.carla-simulator.carla: 0.10.0 → 0.10.0-unstable-2026-10-13 — sudosubin/agents.nix0 reactions
- Oct 13, 2026agent-skills.github.carla-simulator.carla: 0.10.0 → 0.10.0-unstable-2026-10-13 — sudosubin/agents.nix0 reactions
- Oct 13, 2026agent-plugins.github.carla-simulator.carla: init at 0.10.0 — sudosubin/agents.nix0 reactions
- Oct 13, 2026agent-skills.github.carla-simulator.carla: init at 0.10.0 — sudosubin/agents.nix0 reactions
- Oct 5, 2026fix(LibCarla): port lane marking, waypoint loop, lane corners, and pugixml null fixes — Apsinside/carla-pr9652-f8150 reactions
- Jun 12, 2026fix(LibCarla): port lane marking, waypoint loop, lane corners, and pugixml null fixes — CloudAEye/cpp_benchmark__carla__cloudaeye__PR9652__202606130 reactions · 1 comment
- Jun 12, 2026fix(LibCarla): port lane marking, waypoint loop, lane corners, and pugixml null fixes — HardikCloudaeye/cpp_v2__carla__claude__PR9652__202606120 reactions · 1 comment
- Jun 9, 2026Projects to Revisit & Upcoming Releases — zhub9006/robotics-oss-radar0 reactions
- May 8, 2026WSL运行服务端 — OpenHUTB/hutb0 reactions
- Mar 31, 2026Feature/support road info speed inside speed planning — tier4/carla0 reactions
- Mar 7, 2026表面法线激光雷达传感器 — OpenHUTB/hutb0 reactions
- Feb 13, 2026[ue5-dev] 添加真值测试脚本 — OpenHUTB/hutb0 reactions
- Feb 2, 2026增加铁路模拟特性 — OpenHUTB/hutb0 reactions
On YouTube · 25
- Nov 10, 2023CARLA 0.9.15 release — CARLA Simulator49k views · 8 comments
- Dec 19, 2024CARLA 0.10.0 release video — CARLA Simulator49k views · 16 comments
- Nov 16, 2021CARLA 0.9.13 — CARLA Simulator47k views · 8 comments
- Mar 11, 2019CARLA Autonomous Driving Challenge — CARLA Simulator41k views · 18 comments
- Dec 23, 2020CARLA 0.9.11 — CARLA Simulator41k views · 5 comments
20 more on YouTube
- Jul 12, 2019CARLA 0.9.6 — CARLA Simulator36k views · 9 comments
- Sep 26, 2020CARLA 0.9.10 — CARLA Simulator22k views · 7 comments
- Dec 7, 2024Install CARLA on Windows from Source - CARLA Simulator Tutorial — TeckBlick21k views · 117 comments
- Aug 3, 2021CARLA 0.9.12 — CARLA Simulator19k views · 4 comments
- Apr 23, 2020CARLA 0.9.9 — CARLA Simulator18k views · 6 comments
- Apr 4, 2019CARLA 0.9.5 — CARLA Simulator11k views · 4 comments
- Mar 26, 2024CARLA Unreal Engine 5 teaser — CARLA Simulator11k views · 12 comments
- Mar 9, 2020CARLA 0.9.8 — CARLA Simulator10k views · 1 comment
- Nov 19, 2018CARLA 0.9.1 — CARLA Simulator9.8k views · 4 comments
- Jan 31, 2019CARLA 0.9.3 — CARLA Simulator8.1k views · 4 comments
- Mar 1, 2019Carla Release 0.9.4 — CARLA Simulator5.7k views · 3 comments
- Oct 9, 2024AVL leverages CARLA for off-road use case with unpaved terrain — CARLA Simulator4.4k views · 1 comment
- Dec 11, 2019CARLA 0.9.7 — CARLA Simulator4.4k views
- Jun 8, 2018CARLA - Tesla Model 3 — CARLA Simulator4.3k views · 4 comments
- Jun 8, 2018CARLA - Bikes and Motorbikes — CARLA Simulator3.4k views · 2 comments
- Dec 11, 2020Carla Simulator 🚗 Open3D LIDAR Example — chriss code support2.9k views · 4 comments
- Jan 17, 2026Carla 0.9.16 running on MacBook Air M4 with 24GB & Tahoe 26.2! — Potato Codex882 views · 5 comments
- Jan 18, 2026Carla PythonAPI running on MacBook Air M4 with 24GB & Tahoe 26.2! — Potato Codex381 views · 2 comments
- Oct 10, 2020Carla - Easy steps to run — t ravi305 views · 1 comment
- Jul 30, 2021CARLA Town10HD 01 — thillRobot119 views
On Stack Overflow · 10
- Jul 17, 2020Getting the true z value from the depth buffer2 votes
- Aug 9, 2023How can I convert xodr map into jpg or png file?1 vote
- Jul 18, 2023std::bad_cast error while using Python SDK for couchbase1 vote
- Jul 15, 2019This scenario requires to use map Town011 vote · 1 answer
- May 26, 2019How to use specific GPU's in keras for multi-GPU training?1 vote
5 more on Stack Overflow
- Jun 16, 2018How to run many TensorFlow instances in parallel on different GPUs on the same machine?1 vote
- May 8, 2023CARLA Quick-start Crashing with Segmentation fault (core dumped)0 votes
- May 4, 2023How to install carla on macOS with python 3.10?0 votes
- Oct 23, 2022Carla 0.9.13 Installation Issues0 votes
- Mar 12, 2020Exception deallocating memory for std::string (trying to use YOLO/Darknet inside UE4)0 votes
On Hacker News · 2
- Feb 11, 2022Open-source simulator for autonomous driving research3 points
- Feb 7, 2021Carla: Open-source simulator for autonomous driving research2 points
In this repository64 other files it gives its agents.
- AGENTS.mdAGENTS.md
- open-carla-prSkill
- audit-carla-docsSkill
- document-carla-featureSkill
- create-leaderboard-routeSkill
- package-leaderboard-agentSkill
- read-leaderboard-resultsSkill
- run-leaderboard-evaluationSkill
- write-leaderboard-agentSkill
- bounding-boxesSkill
- control-lightsSkill
- control-spectatorSkill
- control-traffic-lightsSkill
- control-trafficSkill
- control-vehicleSkill
- create-sensorSkill
- debug-drawSkill
- debug-navmeshSkill
- load-mapSkill
- map-waypointsSkill
- navigate-toSkill
- query-recordingSkill
- read-sensorSkill
- record-simulationSkill
- replay-recordingSkill
- set-weatherSkill
- set-world-settingsSkill
- spawn-vehiclesSkill
- spawn-walkersSkill
- telemetrySkill
- toggle-env-objectsSkill
- world-dataSkill
- add-ros-message-typeSkill
- add-ros-publisherSkill
- visualize-ros-rvizSkill
- analyze-scenario-resultsSkill
- create-scenarioSkill
- run-openscenarioSkill
- run-route-scenarioSkill
- run-scenarioSkill
- create-scenic-scenarioSkill
- run-scenic-scenarioSkill
- check-feature-supportSkill
- download-carlaSkill
- install-leaderboardSkill
- install-python-apiSkill
- install-scenario-runnerSkill
- install-scenicSkill
- build-carla-ue4Skill
- import-carla-mapSkill
- import-carla-propSkill
- import-carla-vehicleSkill
- import-carla-walkerSkill
- package-carla-ue4Skill
- run-carla-serverSkill
- build-carla-ue58Skill
- carla-vehicle-authoringSkill
- import-carla-ue58-mapSkill
- import-carla-ue58-propSkill
- import-carla-ue58-walkerSkill
- The first 60 shown.
The file
Files
Which ports does CARLA use, and what is holding them?
Paths.
scripts/…below is relative to the directory holding this SKILL.md. Your working directory is the user's project, not that directory, so prefix them with its absolute path or the command is not found.
The failure this prevents: a bind error is read as a broken install. CARLA's components do not search for a free port when theirs is taken. The simulator exits, and the Traffic Manager retries the same port twenty times and then raises. Both messages describe the symptom, neither names the process at fault — and on a developer machine the culprit is usually another CARLA, an editor, or a tool that defaults to the same number.
Docs/ref_ports.md is the full reference. This skill answers the live question: what is in use right now.
Instructions
Progress:
- [ ] Step 1: bash scripts/check_env.sh (only fails with no ss and no lsof)
- [ ] Step 2: check — the CARLA ports and who holds them
- [ ] Step 3: act — free the port, or move the service that wants itStep 1 — prerequisites
bash scripts/check_env.shStep 2 — check
bash scripts/ports.sh checkPrints one row per CARLA port with its expected role and the process actually listening:
PORT STATE ROLE LISTENER
2000 IN USE CARLA RPC server (-carla-rpc-port) UnrealEditor 48250
2001 IN USE CARLA sensor streaming (RPC+1) UnrealEditor 48250
2002 IN USE CARLA multi-GPU secondary router (RPC+2) UnrealEditor 48250
8000 free Traffic Manager RPC -
6256 IN USE Unreal MCP server (editor only) UnrealEditor 48250
8010 free NVIDIA Cosmos example server -
8767 free Alpamayo 2 Super model service -Read the LISTENER column, not the ROLE column. ROLE is what CARLA expects on that port; LISTENER is what is really there. A mismatch between them is the bug, and check calls out the common one — an editor serving MCP on the Traffic Manager's 8000.
Other subcommands:
| Command | Does |
ports.sh check | the CARLA ports only (default) |
ports.sh list | every listening TCP port on the machine, CARLA roles named |
ports.sh free PORT | exits 0 if free, 1 if taken; for scripting |
ports.sh role PORT | what CARLA uses that port for |
Non-default bases come from the environment, so a server on another port still reports correctly:
PORT=3654 TM_PORT=8050 bash scripts/ports.sh checkStep 3 — act
Pick by which side is easier to move.
| Symptom | Fix |
CARLA server failed to start on RPC port N | Close the other simulator, or launch with -carla-rpc-port=M. Streaming and secondary follow at M+1 and M+2, so space parallel servers at least 3 apart |
trying to create rpc server for traffic manager; but the system failed to create because of bind error. | Free the port, or pass --traffic-manager-port M / client.get_trafficmanager(M). The Traffic Manager never falls back by itself |
| A client attaches to a simulator it should not | Two servers share an RPC port, or the client's port is wrong. ports.sh list shows every one |
unreal-mcp fails with ECONNREFUSED | The editor is not running, or it predates the move to 6256. Restart it and reconnect with /mcp |
Never free a port by killing a process you did not start. An editor on these ports usually holds someone's unsaved level. Report what holds it and let the user decide.
Gotchas
- The Traffic Manager lives in a client, not in the simulator. The first client to call
get_trafficmanager(port)becomes its server; later clients on the same port attach to it. A free8000with vehicles already on autopilot means they are driven from another process. ports.shonly sees TCP. ROS 2 is DDS over UDP, and its ports come from the domain id (7400 + 250 × domain), not from a port argument. Separate two ROS 2 stacks withROS_DOMAIN_ID, not with ports.- A
0.0.0.0bind is reachable from the network;127.0.0.1is not. The simulator binds all interfaces, the Unreal MCP server only localhost. - Unreal's own ports are not CARLA's.
1981/1989are UnrealTraceServer and1985/8558are Zen Server; they appear whenever the editor runs and are nothing to do with a CARLA bind error.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

