본문 바로가기

정리노트

검색하기
정리노트
프로필사진 Rolen

  • 분류 전체보기 (94)
    • 프로그래밍 (89)
      • Java (34)
      • Spring (3)
      • Thymeleaf (0)
      • Docker (3)
      • Python (16)
      • 머신러닝, 딥러닝 (2)
      • Linux(ubuntu) (4)
      • Javascript (14)
      • C# (4)
      • 교재_파이썬과 40개의 작품들 (2)
      • 기타 (7)
    • app (3)
      • Dart (0)
      • flutter (0)
      • Android_Studio (3)
    • Game (1)
      • Pygame (1)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/06   »
일 월 화 수 목 금 토
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30
Tags
  • 배열
  • docker
  • 스프링부트
  • SSL
  • Python
  • 객체
  • array
  • 메소드
  • 프로그래머스스쿨
  • AssertJ
  • join()
  • Dict
  • 저장소
  • Swing
  • Docker Desktop
  • thread
  • 자바스크립트
  • class
  • StringBuilder
  • c#
  • event
  • JS
  • SpringBoot
  • 파이썬
  • JavaScript
  • 클래스
  • synchronized
  • 자바
  • Java
  • GIT
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록URL (1)

정리노트

[자바/java] IP주소 찾기 / 사이트 내용 받기

package shapeTest;import java.io.IOException;import java.net.InetAddress;import java.net.UnknownHostException;public class ShapeTest { public static void main(String[] args) throws IOException { String hostName = "www.naver.com"; try { InetAddress address = InetAddress.getByName(hostName); InetAddress myAddress = InetAddress.getLocalHost(); System.out.println("IP주소: " + address.getHostAd..

프로그래밍/Java 2023. 2. 7. 16:16
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바