Revert "fix función conectar"

This reverts commit 7f352ddfb992f948ae0b9c6547505c3923234bd5.