Tomorrow please also try running this code in a new project and test if the camera connects.
Code:
import edu.wpi.first.wpilibj.CameraServer;
import edu.wpi.first.wpilibj.IterativeRobot;
public class Robot extends IterativeRobot {
public void robotInit() {
CameraServer.getInstance().addAxisCamera("10.3.3.31");
}
}