Configuring server to recibe messages