Why not try to get in one of the IT squads in the Army? This way you have both... serving in the miltary and coding.
One of my IT instructors thought that anything involving a command line was part of a programming language called Unix. Before he became an instructor, he claimed to have held a full-time job as a software engineer, which involved nothing but generating reports from a SQL database.
The majority of the IT work in the military is Help Desk and low-level system admin and network admin stuff. There are exceptions, and there are some interesting assignments, but they are rare and getting one is often a matter of luck.
Military service can be rewarding, and its a good way to fund an education, but its definitely not for everyone.