XPort, and other port virtualizers, don't care about baud rate on their client side.
In this case the connection OCPN<->Xport is virtual (no wires), so baud rate is irrelevant.
Of course, XPorts input side, connected to the GPS
receiver, must be properly configured. 9600 baud in this case.
When OCPN is connected directly to a GPS receiver, baud rate certainly matters. 4800 is normal for most GPS receivers
, 38K is normal for AIS
receivers, and 9600 is sometimes seen for GPS receivers
Hope this helps