Zap set proxy port

Goto Tool => Options => Local Proxies and set the hostname/ip address and port number for the proxy. 0. The help files for the OWASP ZAP core.