You can use BTC Tools to identify the miner's IP
https://pool.btc.com/tools
If thatbdoesnt work, I've run into an issue where I have the right IP but it still won't connect. I just hit the reset button on the miner (use one of those sim card removers). Have to set up credentials and pools again but it works after.