Rory gets on the bus to Hartford in order to go to school. In real life there is no 40 minute bus service from Washington Depot (the town which inspired Stars Hollow) to Hartford, or from Wallingford (the general position of where Stars Hollow seems to be) to Hartford. It is possible to get from Wallingford to Hartford by train, which takes around half an hour.
The bus that Rory catches is Connecticut Transit, Route 333. In real life, that bus service is in the city of Stamford.