Replace port only for isShownAt and object