I'm doing a service/daemon, and I'm using the gui aspect so that the phone shows me something i can interact with so I know its working. eventually the app will not have a gui and will probably be configured using the browser
i think, therefore, it may be wiser to just run a high port number in the future; it doesnt really matter - the clients of this app (smtp capable programs) can always change the port number to match the app, and it may be more sensible from an exploit point of view not to have the program running as root..