Compressor shutting off at 2400 psi

I bought a new Daystate 110v compressor and went to fill my tank after a short break in procedure. This was its maiden usage. The pump keeps shutting off at 2400 psi. It has an automatic pressure switch on it so what am I doing wrong?

It's not unheard of for compressors to have a 110/240 switch accessible thru the case which, despite all other indications that the compressor would be received already set to the appropriate setting (110 in the U.S), sometimes they are.....not. Symptoms totally in keeping with that as the issue. Check. 
 
 It's good to know that your compressor was not the problem. When you say it shut off at 2400 psi using the extension cord, was it the compressor shutting down or the circuit breaker tripping? The first time I ran my LC-110 through a 15 amp circuit, it would trip the breaker at 4200 psi. I tried a different circuit connected through a 12 gauge 15' extension cord and it fried the GFI on the recepticle it was plugged into. I ended up connecting it an outlet on the same 20 amp circuit that the washing machine is connected to. I've never had an issue since. I suspect that with the compressor broken in now that it wouldn't trip a 15 amp breaker as it did when it was new.

Compressors have high amp draw under load and any contractor knows not to run any compressor with a long extension cord. As Bigragu said previously, if you must use one make sure it is at least 12 gauge wire and as short as possible.
 
Speaking of extension cords, my brothers house burned completely down back around 2003. The fire originated from the garage. Two days after it happened I was over a close friends house teaching him how to soft solder copper lines for his new master bedroom and bath addition. As I was telling him the story of the fire, an electrical contractor doing the wiring on his addition heard my story and asked if my brother had a garage door opener. I said yes, and he asked if he ran it off of an extension cord. He explained that in the instructions of all garage door openers it clearly states that the opener has to be plugged in to a dedicated circuit, with NO extension cord. He also said the insurance companies look for that as a possible fault of the homeowner, and may neglect to cover any damages if that was the cause. If you look at major appliances like refrigerators and such, there’s a reason that it comes with a short cord, of high gage wire. No extension cords to be added.

i actually plug into my garage door opener outlet above in the ceiling whenever I use my compressor. It’s a 20 amp, all ran with #12 wire