DEV Community

Discussion on: `docker run -p 127.0.0.1:8080:8080`? and if not, do I need SSL certificate?

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt • Edited

Can reproduce now.

It is only a problem with serve-static; not REST API's. And also a problem with Express.

Collapse
 
manishfoodtechs profile image
manish srivastava • Edited

great. Another thing:
You get SSL certificate for Full Qualified Domain Names (FQDN). Though there are certain services that provide IP SSL but still you will get a certificate error in chrome family browsers. However, IP SSL is good if enrcyption is required.But generally avoided and FQDN is best way.