WASHINGTON — While the jobs report for June released on Thursday sent stock markets soaring as investors celebrated another sign of a rebounding economy, voters are hardly so easily moved.

Yet for President Obama and congressional Democrats, the numbers kindled hopes of a lift to their party’s downbeat prospects in this fall’s midterm elections.

Even as international crises dominate the news and the attention of the White House and Congress, the economy continues to be the main concern of most voters, polls show. So Mr. Obama, who struggles daily to balance the two imperatives, on Thursday appeared at a local hub for technology innovators and hailed the hiring report as evidence of a positive trend.

On the eve of Independence Day at a firm called 1776, the president appealed to Republicans’ “economic patriotism” to work with him to strengthen the economy. But his main audience was voters: Mr. Obama expressed hope that “the American people look at today’s news and understand that, in fact, we are making strides. We have not seen more consistent job growth since the ’90s.”