Vijay
Vijay

Reputation: 1026

How to change default port for Aurelia Project

By default, the Aurelia framework runs on port 8080.

How can you change this default port?

Upvotes: 2

Views: 1243

Answers (2)

Nikhil Krishnan N
Nikhil Krishnan N

Reputation: 1

Inside your project folder, you can see a folder with name "aurelia_project". Inside that you will see "aurelia.json". There you can edit the port. Hope this clarifies.

Upvotes: 0

Vijay
Vijay

Reputation: 1026

You can change the port number in aurelia.json:

"platform": { 
  "id": "web", 
  "displayName": "Web", 
  "port": 6060, // <-- 
  "hmr": false, 
  "open": false, 
  "output": "dist" 
}

Upvotes: 7

Related Questions