I'm unable to reproduce the issue. With both inland pumps and inland pumps + krastorio, if I place pipes next to the pump or a pump next to the pipes it connects and fills the pipes. The connection stays after I save, quit, and re-load the game.
Could you upload the saved game where this is happening so I can get a better look at what's happening?