Now getting port through profile