私は外部でソケットを開き、ホワイトリストに登録されたIPアドレスが必要なクラウドサービスを持っています。外部からサービスとの接続を開始するものはありません。 Validation Errors: Error validating the .cscfg file against the .csdef file. Severity:Error, message:ReservedIP 'xxxx' was not mapped to an endpoint. The service definition must contain atleast one endpoint that maps to the ReservedIP..
Azure ReservedIPエンドポイントのないアドレス&クラウドサービス
.cscfg
<?xml version="1.0" encoding="utf-8"?>
<ServiceConfiguration serviceName="Gateway" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceConfiguration" osFamily="5" osVersion="*" schemaVersion="2015-04.2.6">
<Role name="WorkerRole1">
<Instances count="1" />
<ConfigurationSettings>
<Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString" value="yyyyy" />
<Setting name="APPINSIGHTS_INSTRUMENTATIONKEY" value="xxx" />
<Setting name="ASPNETCORE_ENVIRONMENT" value="dev" />
</ConfigurationSettings>
</Role>
<NetworkConfiguration>
<AddressAssignments>
<ReservedIPs>
<ReservedIP name="xxxxx"/>
</ReservedIPs>
</AddressAssignments>
</NetworkConfiguration>
</ServiceConfiguration>
- エンドポイントを指定せずにこれを導入する方法はあります:
私は、私は次のエラーを取得する関連するReservedIPアドレスでそれを公開しようとすると? (私はVS2017RCを使用して展開しています)
- もしそうでなければ、ダミーの「エンドポイント」のXMLの外観はどうなりますか?
- 私はこれに近づくべきよりよい方法がありますか?
ReservedIPを修正できるようにダミーエンドポイントを使用しました。あなたの追加情報をありがとう。 – Prescott