Does "connect" mean the same thing in these two sentences?

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

My computer connected to his computer.
the same meaning