arjun-g / vs-swagger-viewer

Swagger Viewer lets you preview and validate Swagger 2.0 and OpenAPI files as you type in Visual Studio Code.
MIT License
170 stars 47 forks source link

Extension does not respect "swaggerViewer.defaultHost" configuration. #54

Open keith-bennett-gbg opened 5 years ago

keith-bennett-gbg commented 5 years ago

Hi @arjun-g ,

I am developing a tool and was listening on port 9000. When I installed this extension, I discovered a port conflict. I found the swaggerViewer.defaultHost and swaggerViewer.defaultPort configuration settings available. Setting the port to 9010 seems to have resolved the conflict with my other tool.

However, it appears that the listening socket for this extension is listening on 0.0.0.0 despite being told to listen on localhost. I configured it for 127.0.0.1, restarted VS Code, and it's still listening on 0.0.0.0.

Thanks, @keith-bennett-gbg