Sencha cmd change port

Sencha cmd Change Port Number

sencha web -port 8000 start

When we generate and run app using sencha cmd, by default it will map to http://localhost:1841/. The port number can be changed by specifying the port number as above while starting the server.

eg:

D:\senchaSamples\sample_app>sencha web start
Sencha Cmd v5.1.1.39
[INF] Mapping http://localhost:1841/ to ....
[INF] ------------------------------------------------------------------
[INF] Starting web server at : http://localhost:1841
[INF] ------------------------------------------------------------------
^C
D:\senchaSamples\sample_app>sencha web -port 8000 start
Sencha Cmd v5.1.1.39
[INF] Mapping http://localhost:8000/ to ....
[INF] ------------------------------------------------------------------
[INF] Starting web server at : http://localhost:8000
[INF] ------------------------------------------------------------------



No comments:

Post a Comment