Thanks to visit codestin.com
Credit goes to github.com

Skip to content

in Docker, how challenge-frontend connect to gateway?  #4

@EricWangZ

Description

@EricWangZ

I used Docker-Compose bring up the system. but when I play with the browser and find it does not work.

the whole system is running in one server, say: 10.10.10.10; my browser is runing in my laptop, say 10.10.10.11

the browser cannot get any response from multiplication or gamification service, only can connect to challenge-frontend.

I use Chrome Developer Tool, found the request sent from the frontend is "http://localhost:8000/challenges/random". I am wondering if this localhost can work. I guess this local host still referring to my laptop, not the server running the application.

I am not sure if my understanding is correct or not.

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions