For the linear Hotelling model with firms located at the boundaries of the segment line, we study the price competition in a scenario of incomplete information in the production costs of both firms. We introduce the bounded uncertain costs (BUC) condition in the production costs and we prove that there is a local optimum price strategy if and only if the BUC condition holds. We compute explicitly the local optimum price strategy and we prove that it does not depend upon the distributions of the production costs of the firms, except on their first moments. We prove that the ex-post profit of a firm is smaller than its ex-ante profit if and only if the production cost of the other firm is greater than its expected cost.