mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 21:10:32 +01:00
Question: URL binding issues #75
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @alexangas on GitHub (Mar 8, 2018).
Originally assigned to: @StefH on GitHub.
Hello again! First, apologies that this is an issue that partly asks questions due to my lack of understanding, and/or mentions some bugs. Either way, i'm happy to help with updating documentation and maybe even fixing bugs if I know how. The primary confusion is differences in how the Java implementation works.
Attached is a .NET Core test app that is really simple. It takes parameters of IP to bind to, port number, and whether to run in StandAlone mode. WireMock_NetCore.zip. So some questions based on this:
WireMock.Net starts up with "Now listening on: http://127.0.0.1:8080" but theUrlsproperty containshttp://10.0.0.5:8080`.Thank you for any help and apologies for the ramblings!
@StefH commented on GitHub (Mar 8, 2018):
The StandAlone only adds commandline argument parsing, so it's easy to use in a console app or a docker app.
Can you try to connect to "http://*:8080" ?
I don't know. A wild guess ; do you run wiremock as admin ?
This is logging from .NET itself, so I don't know how to change that.
@alexangas commented on GitHub (Mar 9, 2018):
Thanks for getting back to me! A few responses:
2 and 3. I've bound to that, run as admin and no luck. I will do more investigation and raise in a new issue if it's still a problem.
Urlsproperty to be actual bindings and not requested. It's not clear from the code comments.Cheers
@StefH commented on GitHub (Apr 22, 2018):
Hello @alexangas
For point 1, yes please that would help me a lot.
For point 2 and 3, does the latest version which includes this fix (https://github.com/WireMock-Net/WireMock.Net/pull/125) work for you ?
@StefH commented on GitHub (May 19, 2018):
Hello @alexangas, did you have time to validate ?
@alexangas commented on GitHub (May 21, 2018):
Apologies - I've had very little time over the last few weeks. I will get to it this week however.
@StefH commented on GitHub (Jul 2, 2018):
Hello @alexangas I'm closing this issue now. If you need more help, just open a new issue or start a a chat at https://gitter.im/wiremock_dotnet/Lobby.