Restrict pin to 4 digits, zero-pad
Remove hard-coded port