Esp8266 confusing me

I am able to very well communicate with my esp8266 using RX as PIN 0 and TX as PIN 1 but with that, I am unable to upload the program in Arduino. So when I change the RX to PIN 10 or anyone I am unable to communicate with it( means when I send AT it doesn't give OK back). :confused: :confused:

Please do not cross-post. Other thread removed.

https://tttapa.github.io/ESP8266/Chap01%20-%20ESP8266.html

DEVDANGI:
I am able to very well communicate with my esp8266 using RX as PIN 0 and TX as PIN 1 but with that, I am unable to upload the program in Arduino. So when I change the RX to PIN 10 or anyone I am unable to communicate with it( means when I send AT it doesn't give OK back). :confused: :confused:

You have not posted your program so how can we know what you are trying to do.

...R