Public method to set spynet port