The 5ft gauge Confederate Railroads - South Side railroad connected City Point, a port on the James River with the farm country south and west of Petersburg, Virginia, to Lynchburg, Virginia, a distance of about 132 miles .