Git Product home page Git Product logo

Comments (6)

nikosch86 avatar nikosch86 commented on July 28, 2024

changing the port causes your problem
the services can not communicate with the websockets or API because of it.
get rid of the service using port 80 and change it back

from stf-poc.

putrabangga avatar putrabangga commented on July 28, 2024

but i always get this error

Recreating stf-poc_nginx_1 ... error

ERROR: for stf-poc_nginx_1 Cannot start service nginx: b'driver failed programming external connectivity on endpoint stf-poc_nginx_1 (c433bc0c41d162708b6bad0f2a88381f66c3d7de7660741705d4f42de6f80b70): Error starting userland proxy: listen tcp 0.0.0.0:80: bind: address already in use'

ERROR: for nginx Cannot start service nginx: b'driver failed programming external connectivity on endpoint stf-poc_nginx_1 (c433bc0c41d162708b6bad0f2a88381f66c3d7de7660741705d4f42de6f80b70): Error starting userland proxy: listen tcp 0.0.0.0:80: bind: address already in use'
ERROR: Encountered errors while bringing up the project.

when i check port with lsof -i :80 there is no apps use that port. what else i miss?

from stf-poc.

nikosch86 avatar nikosch86 commented on July 28, 2024

some service is listening on port 80 on your machine.
the error you get is not related to STF, it is the docker daemon telling you that it can not bind to port 80.

from stf-poc.

putrabangga avatar putrabangga commented on July 28, 2024

with this command netstat -taupen | grep 80 i have found that port 80 has been used in my apache application. I've disabled my Apache, and all work! but now I want to change port 80 with other port becase i want to use that port for my webServer. can you help to what part of docker-compose.yml need to change so i can change port 80 with other port?

from stf-poc.

putrabangga avatar putrabangga commented on July 28, 2024

or can you explain how actually your docker-compose works. i've read this from stf documentation and this image https://github.com/openstf/stf/blob/master/doc/DEPLOYMENT.md and relate with your docker-compose but still don't understand.

from stf-poc.

nikosch86 avatar nikosch86 commented on July 28, 2024

if you want to change the port you will need to change every place that references the default port (specifically the URLs)
What part of the docker-compose file is unclear to you?

from stf-poc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.