You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the command sam local start-api -t template.yaml -d 5858 on macOS Sonoma 14.5, an error occurs indicating that the port 5858 is already allocated, despite verifying that the port is not in use. The API starts and works correctly when the -d 5858 option is omitted.
Steps to reproduce:
Use macOS Sonoma 14.5.
Ensure the port 5858 is not in use.
Run the command:
sam local start-api -t template.yaml -d 5858.
Observed result:
driver failed programming external connectivity on endpoint nostalgic_poincare (c075a12c9021eda5a9113d79125cbead2fa45163ea3d5578294f90edcd504112): Bind for 127.0.0.1:5858 failed: port is already allocated
Expected result:
The API should start without any port allocation issues when the -d 5858 option is used.
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.
Description:
When running the command sam local start-api -t template.yaml -d 5858 on macOS Sonoma 14.5, an error occurs indicating that the port 5858 is already allocated, despite verifying that the port is not in use. The API starts and works correctly when the -d 5858 option is omitted.
Steps to reproduce:
sam local start-api -t template.yaml -d 5858.
Observed result:
driver failed programming external connectivity on endpoint nostalgic_poincare (c075a12c9021eda5a9113d79125cbead2fa45163ea3d5578294f90edcd504112): Bind for 127.0.0.1:5858 failed: port is already allocated
Expected result:
The API should start without any port allocation issues when the -d 5858 option is used.
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
sam --version
:Add --debug flag to command you are running
The text was updated successfully, but these errors were encountered: