Giter VIP home page Giter VIP logo

Comments (4)

laoshanxi avatar laoshanxi commented on May 26, 2024

Supported, just can not support IPv4 and IPv6 at the same time.

from app-mesh.

laoshanxi avatar laoshanxi commented on May 26, 2024

For IPv6, cpprestsdk support listen hostname instead of ipv6 address. OS configuration will determine enable ipv6 or ipv4

[root@centos73 app-manager]# lsmod | grep ipv6
nf_reject_ipv6         13717  1 ip6t_REJECT
nf_conntrack_ipv6      18894  7 
nf_defrag_ipv6         35104  1 nf_conntrack_ipv6
nf_nat_ipv6            14131  1 ip6table_nat
nf_nat                 26147  3 nf_nat_ipv4,nf_nat_ipv6,nf_nat_masquerade_ipv4
nf_conntrack          111302  7 nf_nat,nf_nat_ipv4,nf_nat_ipv6,xt_conntrack,nf_nat_masquerade_ipv4,nf_conntrack_ipv4,nf_conntrack_ipv6

from app-mesh.

laoshanxi avatar laoshanxi commented on May 26, 2024

"RestListenAddress": "localhost",

[root@centos73 app-manager]# netstat -anp | grep 6060
tcp6       0      0 ::1:6060                :::*                    LISTEN      3277/appsvc   
[root@centos73 app-manager]# appc view
id name        user  status   return pid    memory  start_time          command_line
1  sleep       root  enabled  0      3383   352 K   2019-09-25 16:05:23 /bin/sleep 60

from app-mesh.

laoshanxi avatar laoshanxi commented on May 26, 2024

Enable IPv4 and IPv6 at the same time:

  • Set RestListenAddress to empty
    "RestListenAddress": "",
[root@appmgr app-manager]# grep RestListenAddress /opt/appmanager/appsvc.json 
  "RestListenAddress": "",
[root@appmgr app-manager]# appc view
id name        user  status   return pid    memory  start_time          command
1  sleep       root  enabled  0      6331   352 K   -                   /bin/sleep 60
[root@appmgr app-manager]# netstat -anp | grep 6060
tcp        0      0 0.0.0.0:6060            0.0.0.0:*               LISTEN      6595/appsvc         
tcp6       0      0 fe80::ca0:112d:2dc:6060 :::*                    LISTEN      6595/appsvc         

from app-mesh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.