惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

MongoDB | Blog
MongoDB | Blog
AI
AI
B
Blog RSS Feed
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
T
Threatpost
I
Intezer
P
Proofpoint News Feed
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Scott Helme
Scott Helme
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
T
Threat Research - Cisco Blogs
Google DeepMind News
Google DeepMind News
GbyAI
GbyAI
H
Hackread – Cybersecurity News, Data Breaches, AI and More
S
Schneier on Security
Webroot Blog
Webroot Blog
Recorded Future
Recorded Future
aimingoo的专栏
aimingoo的专栏
L
Lohrmann on Cybersecurity
Simon Willison's Weblog
Simon Willison's Weblog
MyScale Blog
MyScale Blog
Project Zero
Project Zero
L
LangChain Blog
B
Blog
D
DataBreaches.Net
Microsoft Security Blog
Microsoft Security Blog
F
Fortinet All Blogs
美团技术团队
Engineering at Meta
Engineering at Meta
Cisco Talos Blog
Cisco Talos Blog
D
Docker
WordPress大学
WordPress大学
人人都是产品经理
人人都是产品经理
S
Security Affairs
Attack and Defense Labs
Attack and Defense Labs
N
News | PayPal Newsroom
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
量子位
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
W
WeLiveSecurity
V2EX - 技术
V2EX - 技术
TaoSecurity Blog
TaoSecurity Blog
博客园 - Franky
P
Proofpoint News Feed
Jina AI
Jina AI
Google DeepMind News
Google DeepMind News
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
雷峰网
雷峰网
The Hacker News
The Hacker News
G
GRAHAM CLULEY

博客园 - 宽田

SQLite在.NET中自适应32位/64位系统 OWIN是什么? 好的用户界面-界面设计的一些技巧 Android模拟器连接本李服务器localhost win7 64位 VS2010调试提示“ORA-12154: TNS: 无法解析指定的连接标识符”的解决方法 Js 验证中文字符长度 Javascript技巧 解释器模式(interpreter): 访问者模式(Visitor) 职责链模式(Chain of Responsibility) Web Service 中返回DataSet结果大小改进 通用数据链接(UDL)的用法 ORACLE WITH AS 用法 Oracle REGEXP_INSTR 用法 C# 实现自定义事件 错误:200, Stream not found, NetStream.Play.StreamNotFound, clip: '[Clip] GetCallbackEventReference(客户端调用服务器端)的用法 wcf Svcutil用法 客户端字符集NLS_LANG
IIS 增加net.tcp绑定
宽田 · 2012-05-13 · via 博客园 - 宽田

在使用WCF netTcpBinding时,需要配置IIS支持netTcpBinding。

方法

使用 UI

    打开 IIS 管理器。

    在“连接”窗格中,展开树中的“网站”节点,然后单击要为其添加绑定的站点以将其选中。

    在“操作”窗格中,单击“绑定”。

    在“网站绑定”对话框中,单击“添加”。

    在“添加网站绑定”对话框中,添加所需的绑定信息,然后单击“确定”。

命令行

    若要向站点中添加绑定,请使用以下语法:

appcmd set site /site.name: string /+bindings.[protocol=' string ',bindingInformation=' string ']

    变量 site.name string 是要添加绑定的站点的名称。

    变量 protocol string 是要使用的协议

    变量 bindingInformation string 是 IP 地址、端口和主机头的组合。

   例如,若要将站点 contoso 配置为对端口 443 上所有不带主机头的 IP 地址使用 HTTPS 绑定,请在命令提示符处键入以下命令,然后按 Enter:

appcmd set site /site.name: contoso /+bindings.[protocol='https',bindingInformation='*:443:']

   增加net.tcp的内容如下:

类型 主机名 端口 IP地址 绑定信息
http 80 *
net.tcp 808:*
net.pipe *
net.msmq localhost
msmq.formatna localhost

检查已启用的协议:

    增加完成后,在IIS Site 中的“高级配置->行为->已启用的协议”查看是否含有tcp.net。如果没有增加“tcp.net”,以逗号分隔。

参考文章:http://technet.microsoft.com/zh-cn/library/cc731692(WS.10).aspx