다짐하자/IT 관련 Article

[ Topic ] 127.0.0.1, 0.0.0.0 및 localhost 가 뭐에요? ( 이양일님 )

giggs 2023. 1. 1. 22:34

 


The Difference Between 127.0.0.1, 0.0.0.0, And localhost That Every Developer Should Know | by omgzui | Javarevisited | Nov, 2022 | Medium

 

The Difference Between 127.0.0.1, 0.0.0.0, And localhost That Every Developer Should Know

In normal development, especially when configuring NGINX, 127.0.0.1, 0.0.0.0, and localhost will appear. Do you know the difference…

medium.com

 

 


 

1. Summary

  • 웹서버나 솔루션을 사용할 때 설정 혹은 command로 사용하는 것
  • 127.0.0.1 ( IPv4 주소, 루프백 주소 )
  • 0.0.0.0 ( IPv4 주소 )
  • localhost ( IP 주소가 아닌 도메인 이름 )

 

2. My Opinion 

  • 127.0.0.1 의 8888 포트를 호출해서 사용했었는데
  • 이외에도 localhost와 0.0.0.0의 방법이 있다는 것도 알게 되었다.
  • IP 주소에 대해서도 더 공부가 필요할 것 같다.