Liquid in a confined environment or immediate vicinity of a surface is a ubiquitous phenomenon in natural and technological systems. In such circumstances, the intermolecular forces between the liquid and surface cannot be neglected, and therefore the thermodynamic properties of liquid can be significantly different from the bulk. Here we present an investigation of equilibrium pressure in hydrophilic nanopore connected to bulk using molecular dynamics simulations. With similar bulk pressure, negative pressure was observed in 2 nm pore while positive pressure equilibrated in 4 nm pore. Due to wall attraction, liquid atoms were layered near the wall inside the pore, which dominated the pore pressure, no matter if it was negative or positive.