khuemmeler Posted January 24, 2017 Share Posted January 24, 2017 Hi, is it possible to set the webserver port on program start, e.g. by reading from a config file? Best regards Klaus Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted January 24, 2017 Administrators Share Posted January 24, 2017 Yes, in event ServerModule.OnBeforeInit event. Quote Link to comment Share on other sites More sharing options...
skafy Posted July 29, 2019 Share Posted July 29, 2019 That doesn't seems to work anymore. Can you please check? Quote Link to comment Share on other sites More sharing options...
55143681 Posted August 4, 2019 Share Posted August 4, 2019 On 7/29/2019 at 1:48 PM, skafy said: That doesn't seems to work anymore. Can you please check? procedure TUniServerModule.UniGUIServerModuleBeforeInit(Sender: TObject); begin self.Port:=8088; end; works well. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.