Hey, quoting <https://github.com/airbytehq/airbyte...
# ask-community-for-troubleshooting
a
Hey, quoting https://github.com/airbytehq/airbyte/blob/master/docs/deploying-airbyte/on-aws-ec2.md :
If you want to use different ports you will need to modify 
API_URL
 in your 
.env
 file and restart Airbyte.
What is the exact syntax to specify different port in API_URL in
.env
file?
j
If you change the port for the api server, you can point the api url to the fully qualified url for the api. If it’s on localhost with the custom port 1234 the line would look like API_URL=http://localhost:1234/api/v1/
It’s probably easiest to just change the port for the webapp though (which requires changing the docker compose file)
Then you can leave the .env file the same and access both the api and the webapp from the same port