Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to set net.tcp binding for website #7

Open
jrdufresne opened this issue Apr 5, 2016 · 0 comments
Open

Unable to set net.tcp binding for website #7

jrdufresne opened this issue Apr 5, 2016 · 0 comments

Comments

@jrdufresne
Copy link

Within the code it is using New-WebBinding commandlet to setup bindings. The New-WebBinding has a defect where it does not set net.tcp binding properly. It will set to

*:808:

when

808:*

is needed.

https://github.com/ebsco/iisposh/blob/master/files/default/websites.ps1#L252

Threads that show issue with commandlet

Workaround:
Run the following using Powershell Resource
Set-ItemProperty "IIS:\\Sites\\YOURWEBSITE" -name bindings -value (@{protocol="net.tcp";bindingInformation="808*"},@{protocol="http";bindingInformation="*:80:"})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant