You can do exactly what you've done, or you could also create it with `new EthernetServer(webPort)`.
I'm working on an experimental feature in QNEthernet where you can give the port number in the `begin(port)` function instead of only in the constructor, similar to how you'd do it with `EthernetClient::connect(ip, port)`. That would let you define the instance of an `EthernetServer` separate from giving it the listening port.