Help required to deploy your sample project to AWS Lambda


#1

Hi Team,

By following your tutorial, we are trying to deploy your sample project to AWS Lambda. It works fine in our local environment and we are able to successfully deploy it to AWS Lambda as well. But, when we are trying to access the url given by AWS Lambda (after the deployment), we are getting the below error in the browser.

{“message”: “Internal server error”}

When we are verifying the AWS log file, we are observing the below error message.

“could not connect to server: Connection refused\n\tIs the server running on host “localhost” (127.0.0.1) and accepting\n\tTCP/IP connections on port 5432?\ncould not create socket: Address family not supported by protocol\n”,

Could you please help us to resolve this issue?

Thanks,
Anitha