Yes, the ports are the same in SimDash and the config file:

<input device_type="auto" />
<motion enabled="true" ip="127.0.0.1" port="20777" delay="1" extradata="1" />
<screenshotMode enabled="false" />
Could it be the "Delay" part? Should it be "0"? Tried it, still not working.

The one thing is, on SimDash in the "Main" tab the "No simulator detected" is displayed when GRID 2 is running. On Race07 it shows Race07 immediately when I start the game.
I take it that for some reason SimDash doesn't read anything on the port. I have tried changing the port to something else on the config and SimDash, with no success.