Added port number to database context.