Skip to content

port allocation as 8081 already allocated #1

@tony-shannon

Description

@tony-shannon

hi @robtweed
Following Qewd HIT set up instructions.

Upon starting this docker container I got this message
docker run -it --rm --name ethercis-server --net ecis-net -e DB_IP=ethercis-db -e DB_PORT=5432 -e DB_USER=postgres -e DB_PW=postgres -p 8081:8080 rtweed/ethercis-server
docker: Error response from daemon: driver failed programming external connectivity on endpoint ethercis-server (3edb87683349a35ff6cce8b3a50c5030be5418694908dc882593de92ea0d9dc9): Bind for 0.0.0.0:8081 failed: port is already allocated.

so I've set up on 8082 for now.. got healthier response

docker run -it --rm --name ethercis-server --net ecis-net -e DB_IP=ethercis-db -e DB_PORT=5432 -e DB_USER=postgres -e DB_PW=postgres -p 8082:8080 rtweed/ethercis-serverERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console.
Property: File 'services.properties' not found
Property: could not find default property file, will try from command line arguments
Property: No args array given.
Property: Loading /config/services.properties from directory /
Property: Added 1 property pairs
[main] INFO org.eclipse.jetty.util.log - Logging initialized @1044ms to org.eclipse.jetty.util.log.Slf4jLog
Property: Loading /config/services.properties from directory /
Property: Added 1 property pairs
[main] INFO org.eclipse.jetty.server.Server - jetty-9.4.z-SNAPSHOT; built: 2018-05-03T15:56:21.710Z; git: daa59876e6f384329b122929e70a80934569428c; jvm 1.8.0_111-8u111-b14-2~bpo8+1-b14
Property: Added 0 property pairs
[main] INFO org.eclipse.jetty.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@28da7d11{/,null,AVAILABLE}
[main] INFO org.eclipse.jetty.server.AbstractConnector - Started ServerConnector@33341cfa{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
[main] INFO org.eclipse.jetty.server.Server - Started @6342ms

? need to amend setup instructions on basis that 8081 is likely to be allocated already?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions