Dedicated server issue

when i only open 1 server my cilent wont connect at all but when i open another server the cilent will connect. im confused why do i need two open?