how can i get the public ip adress of my esp32cam

talhattemel
Posts: 3
Joined: Mon May 11, 2020 4:06 pm

how can i get the public ip adress of my esp32cam

Postby talhattemel » Mon May 11, 2020 4:11 pm

hello everyone, i need my esp32cam's public ip adress.im gonna stream it for all world so i need public ip adress.i tried something but i didnt get it.would you help me? thanks

talhattemel
Posts: 3
Joined: Mon May 11, 2020 4:06 pm

Re: how can i get the public ip adress of my esp32cam

Postby talhattemel » Tue May 12, 2020 6:51 am

and im using arduino as a IDE

ESP_Sprite
Posts: 9739
Joined: Thu Nov 26, 2015 4:08 am

Re: how can i get the public ip adress of my esp32cam

Postby ESP_Sprite » Tue May 12, 2020 7:55 am

What makes you assume your ESP32cam has a public address in the first place?

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: how can i get the public ip adress of my esp32cam

Postby WiFive » Tue May 12, 2020 8:41 am

Using STUN but you have to also setup port forwarding on your router so you may as well just use a dynamic dns service.

talhattemel
Posts: 3
Joined: Mon May 11, 2020 4:06 pm

Re: how can i get the public ip adress of my esp32cam

Postby talhattemel » Tue May 12, 2020 11:06 am

ESP_Sprite wrote: What makes you assume your ESP32cam has a public address in the first place?
i just checked on webpage.i have a chance for that but it is not recommended. then can i stream on youtube or something like that with my esp32cam? i have a ip which is a static.

PeterR
Posts: 621
Joined: Mon Jun 04, 2018 2:47 pm

Re: how can i get the public ip adress of my esp32cam

Postby PeterR » Tue May 12, 2020 12:32 pm

A static address may be public or private. The address class determines if that address is public/private. Static just means that you use a constant IP address.
In a home setting the the issue will be connecting to your ISP. If you can disable your home router whilst still being able to connect to your ISP then you could borrow your routers public address (assuming not MAC locked). Most ISPs will give a near permenant lease to you (your router).
These are IP address issues though and I think that there are better networking forums which would help.
& I also believe that IDF CAN should be fixed.

Who is online

Users browsing this forum: Baidu [Spider], Google [Bot] and 103 guests