skip to Main Content

While executing an express application it crashed – Javascript

node .\index.js node:events:490 throw er; // Unhandled 'error' event ^ Error: listen EADDRINUSE: address already in use :::3000 at Server.setupListenHandle [as _listen2] (node:net:1774:16) at listenInCluster (node:net:1822:12) at Server.listen (node:net:1910:7) at Function.listen (D:\Gamaca AI\Express2\node_modules\express\lib\application.js:635:24) at Object.<anonymous> (D:\Gamaca AI\Express2\index.js:9:5) at Module._compile (node:internal/modules/cjs/loader:1275:14)…

VIEW QUESTION

do not understand EXPOSE command Dockerfile

i really do not understand the following command in Dockerfile EXPOSE 8080 I built a java application and dockerized it via this Dockerfile FROM openjdk:10-jre-slim WORKDIR /app COPY ./target/display-console-1.0-SNAPSHOT.jar /app CMD ["java", "-jar", "display-console-1.0-SNAPSHOT.jar"] My java application got a controller…

VIEW QUESTION
Back To Top
Search