Arduino EthernetServer is possible initialize in setup?

I wonder if it is possible to initialize the EthernetServer Arduino inside the setup function

the idea is before you start reading the eeprom Arduino and choose the port recorded in eeprom to boot EthernetServer

Dario

ps

i post the topic in stackoverlow and i receive this

I know not to put the boot in loop would be the best solution

Yes. Take a look at the WebServer example included with the IDE.