Skip to content

running moto server in different path instead of default path "/" #9203

@iamgollapalli

Description

@iamgollapalli

I am running moto server though python command "moto_server -p <>" but with this issue all the requests ( matching with / path ) are routed to moto server. Because of this behaviour my application http requests are not working.

I have tried running moto server with following options

moto_server -p 5000 -s /moto-api -- this didnt work /moto-api invalid option

moto_server -p 5000 --service-path /moto-api -- didnt work because --service-path is invalid argument.

Can you please guide me how to run the moto server in specific path instead of default "/"

Note: i am using moto server version 5.1.4

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    debuggingWorking with user to figure out if there is an issuequestion

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions