Web 服務 URL (SSRS 原生模式)Web Service URL (SSRS Native Mode)

使用 [Web 服務 URL] 頁面可設定或修改用來存取報表伺服器的 URL。Use the Web Service URL page to configure or modify the URL used to access the report server. 將會根據您指定的 URL 來建立 「URL 保留項目」A URL reservation will be created based on the URL you specify. 此 URL 保留項目會針對後續可用來存取報表伺服器 Web 服務的所有 URL 來定義語法和規則。The URL reservation defines the syntax and rules for all URLs that can be subsequently used to access the Report Server Web service. 它會針對此報表伺服器 Web 服務指定前置詞、主機、通訊埠和虛擬目錄。It specifies the prefix, host, port, and virtual directory for the Report Server Web service. 根據您指定主機的方式而定,單一保留項目可能會有多個 URL。Depending on how you specify the host, multiple URLs might be possible for a single reservation. 主機的預設值會指定強式萬用字元,The default value for the host specifies a strong wildcard. 強式萬用字元可讓您在 URL 中指定任何可解析為主控報表伺服器之電腦的主機名稱。A strong wildcard allows you to specify in a URL any host name that can be resolved to the computer that hosts the report server. 如需 URL 設定和保留的詳細資訊,請參閱設定(url ssrs) Configuration Manager設定報表伺服器(url ssrs)Configuration ManagerFor more information about URL configuration and reservations, see Configure a URL (SSRS Configuration Manager) and Configure Report Server URLs (SSRS Configuration Manager).

適用於:Applies to: Reporting ServicesReporting Services 原生模式。Reporting ServicesReporting Services Native mode.

若要開啟此頁面,請啟動 Reporting ServicesReporting Services 組態管理員,並按一下導覽窗格中的 [Web 服務 URL]To open this page, start the Reporting ServicesReporting Services Configuration Manager and click Web Service URL in the navigation pane. 如需詳細資訊,請參閱 Reporting Services 組態管理員 (原生模式)For more information, see Reporting Services Configuration Manager (Native Mode).

此頁面會提供報表伺服器 URL 中常用的值。This page provides values that are commonly used in report server URLs. 如果您想要建立其他 URL、使用主機標頭,或是指定特定格式的 IP 位址,請按一下 [進階]If you want to create additional URLs, use host headers, or specify the IP address in a particular format, click Advanced.

當您按一下 [套用] 之後,此頁面上將會出現此 Web 服務的連結。A link to the Web service will appear on this page after you click Apply. 如果您在建立報表伺服器資料庫之前按一下此連結,您可以預期會看到「找不到網頁」錯誤。If you click this link before the report server database is created, you can expect to see a "Page Not Found" error. 一旦設定此資料庫之後,這個錯誤將不再出現。This error will no longer appear once the database is configured. 如需詳細資訊,請參閱建立原生模式報表伺服器資料庫 (SSRS 設定管理員)For more information, see Create a Native Mode Report Server Database (SSRS Configuration Manager).

如果您已重新安裝 Reporting ServicesReporting Services ,然後發現您在嘗試使用 [全部指派] 的預設 IP 位址值和通訊埠 80 時得到錯誤,通常可以在重新啟動此服務之後,重新建立 URL 來解決錯誤。If you reinstalled Reporting ServicesReporting Services and find that you get errors when attempting to use the default IP address value of All Assigned and port 80, you can usually resolve the error by re-creating the URL after restarting the service.

選項。Options

虛擬目錄Virtual Directory
為報表伺服器 Web 服務指定虛擬目錄名稱。Specifies the virtual directory name for the Report Server Web service. 相同電腦上的每一個報表伺服器 Web 服務執行個體只能有一個虛擬名稱。You can only have one virtual name for each Report Server Web service instance on the same computer.

IP 位址IP Address
識別 TCP/IP 網路上的報表伺服器電腦。Identifies the report server computer on a TCP/IP network. 有效值包括:Valid values include:

  • [全部指派] 會指定指派給電腦的任何一個 IP 位址都可以用於指向報表伺服器應用程式的 URL。All Assigned specifies that any of the IP addresses that are assigned to the computer can be used in a URL that points to a report server application. 這個值也包含易記主機名稱 (如電腦名稱),網域名稱伺服器可將該名稱解析為指派給電腦的 IP 位址。This value also encompasses friendly host names (such as computer names) that can be resolved by a domain name server to an IP address that is assigned to the computer. 這是 Reporting ServicesReporting Services URL 的預設值。This is the default value for a Reporting ServicesReporting Services URL.

  • [全未指派] 會指定報表伺服器將會接受未完全符合 IP 位址或主機名稱的任何要求。All Unassigned specifies that the report server will accept any request that does not have an exact match for the IP address or host name. 如果有另一個 Web 應用程式已經在使用這個值,請勿使用它。Do not use this value if another Web application is already using it. 如果您這樣做,您將會中斷其他應用程式的服務。If you do so, you will disrupt service for the other application.

  • [127.0.0.1] 是用來存取 localhost,127.0.0.1 is used to access to localhost. 它可支援報表伺服器電腦上的本機管理。It supports local administration on the report server computer. 如果您只選取這個值,則只有在本機登入報表伺服器電腦的使用者才會擁有此應用程式的存取權。If you select only this value, only users who are logged on locally to the report server computer will have access the application.

  • Nnn.nnn.nnn.nnn 是電腦網路卡的 IPv4 位址。Nnn.nnn.nnn.nnn is the IPv4 address of a network adapter card on your computer. 如果您的網路使用 IPv6 位址,則 IP 位址會是 8 4 位元組欄位的128位值,如下格式所示: <header >:nnnn: nnnn: nnnn: nnnnIf your network uses IPv6 addressing, the IP address will be a 128-bit value of 8 4-byte fields similar to the following format: <header>:nnnn:nnnn:nnnn:nnnn

    如果您有多張網路卡,您會看到每一張網路卡都有一個 IP 位址。If you have multiple cards, you will see an IP address for each one. 如果您只選取這個值,它會將應用程式存取限制為只有該 IP 位址 (以及網域名稱伺服器對應至該位址的任何主機名稱)。If you select only this value, it will limit application access to the just the IP address (and any host name that a domain name server maps to that address). 您無法使用 localhost 來存取報表伺服器,而且也不能使用安裝於報表伺服器電腦上之其他網路卡的 IP 位址。You cannot use localhost to access a report server, and you cannot use the IP addresses of other network adapter cards that are installed on the report server computer.

[TCP 動態通訊埠]TCP Port
指定報表伺服器用來監視 HTTP 要求的通訊埠,看看是否有包含報表伺服器虛擬目錄名稱的 URL。Specifies the port that report server monitors for HTTP requests for URLs that include the report server virtual directory name.

SSL 憑證SSL Certificate
將憑證繫結至您所指定的 IP 位址。Binds a certificate to the IP address you specified. 您必須在電腦上安裝及設定此憑證。The certificate must be installed and configured on the computer. Reporting Services 不提供用來管理憑證的功能。Reporting a Services does not provide features for managing certificates. 此憑證必須發行到解析為 IP 位址的主機名稱或電腦名稱。The certificate must be issued to a host name or a computer name that resolves to the IP address. 例如,若要使用的憑證是發給 http://salesreports ,您所指定的 IP 位址必須解析為名為"salesreports"的伺服器。For example, to use a certificate that was issued to http://salesreports, the IP address you specified must resolve to a server named "salesreports".

如果您要使用憑證,也必須修改 RSReportServer.config 檔案中的 UrlRoot 組態設定,使它指定註冊憑證之電腦的完整名稱。If you use a certificate, you must modify the UrlRoot configuration setting in the RSReportServer.config file so that it specifies the fully qualified name of the computer for which the certificate is registered. 如需詳細資訊,請參閱《 線上叢書》中的 在原生模式報表伺服器上設定 SSL 連接 [SQL Server]SQL ServerFor more information, see Configure SSL Connections on a Native Mode Report Server in [SQL Server]SQL Server Books Online.

SSL 通訊埠SSL Port
為 SSL 連接指定通訊埠。Specifies the port for SSL connections.

UrlURLs
顯示為目前報表伺服器執行個體定義的 URL。Displays the URLs defined for the current report server instance.

進階Advanced
按一下此項目,即可為目前的應用程式執行個體建立其他 URL。Click to create additional URLs for the current application instance.

注意

如果您有現有的 SSL 繫結和 URL 保留項目,而您想要變更 SSL 繫結,例如使用不同的憑證或主機標頭,則建議您依序完成以下步驟:If you have existing SSL Bindings and URL Reservations and you want to change the SSL Binding, for example use a different certificate or hostheader, then it is recommended you complete the following steps in order:

  1. 先移除所有 URL 保留項目。First remove all URL Reservations.
  2. 然後移除所有 SSL 繫結。Then remove all SSL Bindings.
  3. 然後重新建立 URL 和 SSL 繫結。Then recreate the URLs and the SSL bindings.

前述步驟可以使用 Reporting ServicesReporting Services 組態管理員完成。The previous steps can be completed using Reporting ServicesReporting Services Configuration Manager.

Microsoft Windows 針對每個 IP 位址與通訊埠組合支援一個繫結。Microsoft Windows supports one binding for each IP address to Port combination. 如果您將報表伺服器設定為使用特定主機標頭值,同時將通訊埠至 IP 位址組合上的憑證發給不同的主機標頭值,則會在瀏覽器中看見一個警告,指出憑證與所使用的 URL 不相符。If you configure a report server to use a specific hostheader value and the certificate on the Port to IP address combination is also issued to a different hostheader value, you will see in your browser, a warning indicating the certificate does not match the URL that is being used.

若要更正這個問題,請刪除所有繫結,然後使用唯一的設定建立新繫結,或設定包含萬用字元的 Reporting Services URL 註冊。To correct the issue, delete all bindings and then create new bindings with unique settings or configure the Reporting Services URL registrations with wildcards.

另請參閱See Also

Reporting Services 組態管理員 F1 說明主題(SSRS 原生)模式 Reporting Services Configuration Manager F1 Help Topics (SSRS Native Mode)
設定報表伺服器 URL (SSRS 組態管理員)Configure Report Server URLs (SSRS Configuration Manager)