# Photon is unable to connect to wifi after flashing static IP code. \[ SOLVED \]

**URL:** <https://community.particle.io/t/photon-is-unable-to-connect-to-wifi-after-flashing-static-ip-code-solved/23060>\
**Category:** Troubleshooting\
**Created:** [May 21, 2016, 1:36pm UTC](https://community.particle.io/t/photon-is-unable-to-connect-to-wifi-after-flashing-static-ip-code-solved/23060 "2016-05-21T13:36:21Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![phyo\_tz](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/phyo_tz/32/13581_2.png) [@phyo\_tz](https://community.particle.io/u/phyo_tz)\
**Post date:** [May 21, 2016, 5:33pm UTC](https://community.particle.io/t/photon-is-unable-to-connect-to-wifi-after-flashing-static-ip-code-solved/23060/13 "2016-05-21T17:33:08Z")

</div>

It was very short burst of orange.  
Thank you, Sir. Thank you very much.  
You have helped me within a couple of hours to solve the problem which I have been struggling for 8 hours.  
It worked like a charm.  
I was looking through [this thread](http://community.particle.io/t/photon-setup-flashing-cyan-with-a-quick-red-burst-now-orange-burst/12118/31).  
I typed these in terminal provided in the above thread.

1. particle keys server cloud\_public.der
2. particle keys new photon
3. particle keys load photon.der
4. particle keys send photon.pub.pem

No 4. command did not work in Terminal.  
At the moment, I saw your reply.  
Then I typed in command you provided.

\< particle keys doctor _myDeviceID_ \>

Magically, I see cyan breathing on photon.  
Photon is connected to wifi and my web server works like it did before.

Again, thank you very much, Sir.  
It means a lot to me.

---

_[View the full topic](https://community.particle.io/t/photon-is-unable-to-connect-to-wifi-after-flashing-static-ip-code-solved/23060)._
