Debug&compile in eclipse

Is your Photon in DFU mode (blinking yellow)? You probably won’t be able to connect to it manually in telnet mode if it’s in normal operating mode.