Connecting Monero node to XMRig/P2Pool

Wondering if it’s possible to connect the StartOS community Monero node to XMRig/P2ool? I’m able to connect the node to a wallet but get connection refused on XMRig/P2Pool.