Giter Club home page Giter Club logo

Comments (5)

Filipsi avatar Filipsi commented on August 19, 2024 2

I have faced the same problem, this is what worked for me:

Setting HTTP protocol binding in applicationhost.config to
<binding protocol="http" bindingInformation="*:8010:192.168.1.102" />

Adding netsh rule via cmd
netsh http add urlacl url=http://192.168.1.102:8010 user=Everyone

I hope it helps.

from nuget-server.

svenkle avatar svenkle commented on August 19, 2024

Hi @TobiasGlaubach,

I've just tried to replicate this issue and all appears to be working for me. Can you confirm you've set the binding appropriately. <binding protocol="http" bindingInformation=":8080:192.168.2.XX" /> where XX is your IP?

Can you also provide any steps you've taken eg. Folder Permissions, Changed location etc.

Cheers,
Luke

from nuget-server.

TobiasGlaubach avatar TobiasGlaubach commented on August 19, 2024

I had that set before, and it didn't work back then. To be sure I tested again. Turns out it works from the local machine, but any other PC in the network can't access it (I can remotedesktop to the machine though). It might be related to our Network. Let me check that first.

from nuget-server.

TobiasGlaubach avatar TobiasGlaubach commented on August 19, 2024

OK I finally got a reply from our Network and VM Admin. Our system does not seem to be the issue.

I here is all the test cases I ran:

Running exe with <binding protocol="http" bindingInformation=":5000:192.168.2.24" />:
--> locally (through http://192.168.2.24:5000/): OK
--> network (through http://192.168.2.24:5000/): no connection

Running exe with <binding protocol="http" bindingInformation=":5001:192.168.2.24" />:
--> locally (through http://192.168.2.24:5001/): OK
--> network (through http://192.168.2.24:5001/): no connection

Running exe with <binding protocol="http" bindingInformation=":8080:192.168.2.24" />:
--> locally (through http://192.168.2.24:8080/): OK
--> network (through http://192.168.2.24:8080/): no connection

Running exe with <binding protocol="http" bindingInformation=":5000:0.0.0.0" />:
--> startup error: Failed to register URL "http://0.0.0.0:5000/" for site "NuGetServer" application "/". Error description: Die Anforderung wird nicht unterst³tzt. (0x80070032)
HostRunnerOnExited

Running Minimalist python flask server as a system test on the same machine:

python -m flask run --host=0.0.0.0 --port=8080
--> locally (through http://192.168.2.24:8080/) : OK
--> network (through http://192.168.2.24:8080/) : OK

python -m flask run --host=0.0.0.0 --port=5000
--> locally  (through http://192.168.2.24:5000/): OK
--> network  (through http://192.168.2.24:5000/): OK

python -m flask run --host=192.168.2.24 --port=5000
--> locally  (through http://192.168.2.24:5000/): OK
--> network  (through http://192.168.2.24:5000/): OK

from nuget-server.

TobiasGlaubach avatar TobiasGlaubach commented on August 19, 2024

Installation path: C:\nuget-server\SvenkleNuGetServer
EXE path: C:\nuget-server\SvenkleNuGetServer\Svenkle.NuGetServer.Service.exe
User running the EXE is Admin

from nuget-server.

Related Issues (9)

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.