V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
weishao666
V2EX  ›  问与答

服务器上网络好像紊乱了

  •  
  •   weishao666 · Apr 15, 2023 · 1158 views
    This topic created in 1118 days ago, the information mentioned may be changed or developed.

    基础不牢,不知道怎么下手查

    git clone 来了个 Could not resolve host: https ???咋会把 host 解析为 https 了。。。

    [root@k8s-master01 tmp]# git clone https://gitee.com/w1002/test.git
    正克隆到 'test'...
    fatal: unable to access 'https://gitee.com/w1002/test.git/': Could not resolve host: https; Unknown error
    You have mail in /var/spool/mail/root
    
    

    ifconfig 卡住,卡住是什么情况

    [root@k8s-master01 tmp]# ifconfig
    br-455b7df683fd: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
            inet 172.20.0.1  netmask 255.255.0.0  broadcast 172.20.255.255
     
    

    Springboot 起不来,要加参数-Djava.net.preferIPv4Stack=true 才行

    3 replies    2023-04-15 23:45:25 +08:00
    churchmice
        1
    churchmice  
       Apr 15, 2023 via Android
    CEBBCAT
        2
    CEBBCAT  
       Apr 15, 2023
    怀疑是共享库比如 glibc 之类的搞乱了,建议推倒重来
    CEBBCAT
        3
    CEBBCAT  
       Apr 15, 2023
    如果不知道怎么查,可以搜一搜 Linux 下如何 debug 程序,strace 、gdb 、tcpdump 之类的,最好用英文
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5895 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 50ms · UTC 06:34 · PVG 14:34 · LAX 23:34 · JFK 02:34
    ♥ Do have faith in what you're doing.