The provider of Exede satellite broadband service said revenue increased 25 percent year over year to $353.9 million for its fiscal second quarter. Adjusted net income reached $9.3 million, or 20 cents a share, compared with a loss of $1.9 million for the same quarter a year ago.

Wall Street analysts on average predicted adjusted net income of 8 cents a share on revenue of $330.8 million.

“Continued steady net subscriber additions for our Exede service on ViaSat-1 are leading the way, but we also achieved double-digit revenue increases across all our business segments, including government services,” said Chief Executive Mark Dankberg.

Dankberg said government services — which mostly involves defense — is a double-edged sword for ViaSat. “Business as usual is harder to do for the government, and innovative, lower cost solutions are getting more attention, which is good for us,” he said.

On the other hand, Dankberg said government budget cuts are creating an “incredibly stressful military spending environment” so the company defense business may experience swings quarter to quarter.

The company’s Exede satellite Internet business saw a 49 percent increase in revenue compared with a year earlier, as it added a net 41,000 new subscribers in the quarter to bring its total to 590,000 consumers. ViaSat’s results also benefited from higher revenue per subscriber of $50.70 per month, with gains led by consumers adding more services, such as satellite-powered voice telephone.

ViaSat also is nearing the rollout of a commercial in-flight Wi-Fi service on JetBlue, which is expected to begin on certain routes this month and expand to all 190 planes in JetBlue’s fleet over the next 12 to 15 months.

ViaSat released results Monday after markets closed. Its shares ended the day at $64.40 but gained 4 percent to $67 in after-hours trading on the Nasdaq.