Expand my Community achievements bar.

Applications for the 2024-2025 Adobe Experience Manager Champion Program are open!
SOLVED

AEM LiveReload for Webpack on port 8081

Avatar

Level 1

Hey,

I am running an AEM authoring instance with webpack but I am working on a system that has port 8080 in use. How can I get the AEM instance to listen on port 8081?

1 Accepted Solution

Avatar

Correct answer by
Level 6

You can use the devServer.port option in the webpack config.

devServer: {
  port: 8081
}

Alternatively you can use the --port CLI option instead of changing your webpack config. So you'd run it like this:

webpack-dev-server --port 8081

 

View solution in original post

1 Reply

Avatar

Correct answer by
Level 6

You can use the devServer.port option in the webpack config.

devServer: {
  port: 8081
}

Alternatively you can use the --port CLI option instead of changing your webpack config. So you'd run it like this:

webpack-dev-server --port 8081