fixing the port requirement for xmem