Update cargo configuration to also set AJP ports

Fixes gh-1736