Add range check for master port in replicaof. (#9201)
Add range check for master port in replicaof. (#9201)

So that we can avoid commands that are obviously wrong.

Also unified with loadServerConfigFromString
because we also checked the range.
soloestoy/redis,antirez/redis,charsyam/redis,soloestoy/redis,PKRoma/redis,charsyam/redis,antirez/redis,soloestoy/redis,PKRoma/redis,antirez/redis,ofirluzon/redis,antirez/redis,ofirluzon/redis,neomantra/redis,oranagra/redis,ofirluzon/redis,yossigo/redis,charsyam/redis,yossigo/redis,charsyam/redis,neomantra/redis,yossigo/redis,PKRoma/redis,charsyam/redis,yossigo/redis,soloestoy/redis,ofirluzon/redis,neomantra/redis,oranagra/redis,ofirluzon/redis,oranagra/redis,neomantra/redis,oranagra/redis,neomantra/redis,soloestoy/redis,oranagra/redis,yossigo/redis,PKRoma/redis,PKRoma/redis