Written by

Project Manager & Head of Interoperability at Salutic Soluciones, S.L.
MOD
Question Kurro Lopez · Mar 6, 2017

Change Port for a WebApi

Hi all,

I've created a WebApi and I've deployed in our development environment. So we test calling http://localhost:57772/Client/login and it works.

Now, I wondering how to change the port to call in pre production environment.

I've changed the port in the business service object, but it is ignored.

Other workaround is change the WebServerPort in System > Configuration > Startup Setting but it changes for all environment (connect to managment portal, etc..)

Is there any way to change the port of the WebApi to redirect to 80 (for example) u other one?

Best regards,

Francisco

Comments

Dmitry Maslennikov · Mar 6, 2017

this port is from internal Apache which was installed by default with Caché. And should be used only in development.

For production, or pre-production, you should use some external WebServer, IIS (if you use Windows), Apache or Nginx. You can find more information about configuration all of this webservers, in the documentation.

0