Skip to content
This repository was archived by the owner on Oct 15, 2025. It is now read-only.
This repository was archived by the owner on Oct 15, 2025. It is now read-only.

Backend tries to host API on port 5000 but compose.yaml doesn't forward 5000 #140

@SuitablyMysterious

Description

@SuitablyMysterious

I am checking that these endpoints exist:

@SuitablyMysterious ➜ /workspaces/Library-System (dev) $ curl -X GET http://localhost:8000/Book/getByISBN
curl: (56) Recv failure: Connection reset by peer
@SuitablyMysterious ➜ /workspaces/Library-System (dev) $ curl -X GET http://localhost:5000/Book/getByName
curl: (7) Failed to connect to localhost port 5000 after 0 ms: Couldn't connect to server

Metadata

Metadata

Labels

C - BackendAffects the backend containerF - TestingThis issue was found in testingL - DockerAffects the use of dockerL - PythonAffects code written in Python

Type

Projects

Status

Not Planned

Relationships

None yet

Development

No branches or pull requests

Issue actions