It is in the same domain, path was correct.
My issue had to do with where the script manager was.
I was using a masterpage and I originally had the script manager in the master mage but the controls that needed to access the service were in a content template. Once I moved everything to the content template content page, it worked just fine.