There are few IMPORTANT differences how XPages behave in these two environments. From URL syntax, through authentication (evaluation of @UserNamesList is empty on local DB even with enforced ACL) to client JS support (right click not working).

REQUEST: How to speed up firs time launch of XPage in Notes Client (XPiNC)