# target mismatch

`TNL_TARGET_MISMATCH`

the framework reported a different listening port from the one tnl dev required.

the registered target does not match the required port

```text
+--[ where it stopped ]----------------------------------------+
|                                                              |
|  port required by tnl dev                                    |
|     |                                                        |
|     v                                                        |
|  framework target                                            |
|     |                                                        |
|     x  different port                                        |
|  tnl (not publishing)                                        |
|                                                              |
+--------------------------------------------------------------+
```

## what happened

- the framework ignored or overrode the requested port
- the port was occupied and the framework switched to another one

## if you run tnl

- remove competing port settings from the project script
- when using `--port`, free that port and keep the framework on the exact value

help: https://tnl.dev/e/target-mismatch
