viertualbox 에서 네트웍 설정을 아래처럼 바꿔준 다음
우분투에서
ip addr show
로 ip 를 알아 볼 수 있고 그 중에서
inet 211.225.40.81/25
이 ip 로 window 쪽 브라우저에서 우분투 nodejs 서버 in virtualbox 로 접속
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | xxxxx@xxxxx-VirtualBox:~$ ip addr show 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: enp0s3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 08:00:27:c6:16:1d brd ff:ff:ff:ff:ff:ff inet 211.225.40.81/25 brd 211.225.40.127 scope global dynamic noprefixroute enp0s3 valid_lft 3365sec preferred_lft 3365sec inet6 fe80::3eec:9e3b:1fcb:c723/64 scope link noprefixroute valid_lft forever preferred_lft forever 3: enp0s8: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000 link/ether 08:00:27:20:7c:02 brd ff:ff:ff:ff:ff:ff inet6 fe80::918:f04e:bfb8:4621/64 scope link noprefixroute valid_lft forever preferred_lft forever 4: enp0s9: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000 link/ether 08:00:27:85:0f:a1 brd ff:ff:ff:ff:ff:ff inet6 fe80::8d6f:592b:c08c:f10f/64 scope link noprefixroute valid_lft forever preferred_lft forever |
반응형
'서버(Server) > Linux' 카테고리의 다른 글
How to Install and Configure VNC on Ubuntu 16.04(우분투 VNC 세팅, 적은용량) (0) | 2018.06.03 |
---|---|
Unix/Linux 디스크 용량 확인 (df/du) (0) | 2018.06.03 |
ubuntu 와 window 간의 복사 붙여넣기 세팅 (viritual box) (0) | 2018.06.02 |
Ubuntu & install Visual studio code, 실행이 안되는 경우 (0) | 2018.06.02 |
VNC 와 copy & paste(복사 붙여 넣기), autocutsel (1) | 2018.06.01 |