Does the word "connect" have the same definition in the next two sentences?

The new railroad will connect the northern part of the state to the southern part.

Our computers connected.
the same meaning