If you want to change the port number dynamically, do the following:

- call A4D_Startup(False). That will prevent the web server from being started. - After calling A4D_Startup, determine what port you want to use and use SET DATABASE PARAMETER accordingly.
- Call START WEB SERVER.

This did not help.

On the PC unders Windows, I have unchecked, the Publish Database at Startup flag in preferences. Now, it appears, I can start the PC on any port using the above code.

I forgot to say you should uncheck Publish Database at Startup.


Is there any problem unchecking Publish Database at Startup under Windows?

No, it's merely a convenience.

Regards,

   Aparajita
   www.aparajitaworld.com

   "If you dare to fail, you are bound to succeed."
   - Sri Chinmoy   |   www.srichinmoylibrary.com


_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to