設定報表伺服器 URL (SSRS 組態管理員)Configure Report Server URLs (SSRS Configuration Manager)

Reporting ServicesReporting Services中,URL 是用來存取報表伺服器 Web 服務和 入口網站web portalIn Reporting ServicesReporting Services, URLs are used to access the Report Server Web service and the 入口網站web portal. 在您可以使用其中一個應用程式以前,您至少必須為此 Web 服務和 入口網站web portal設定一個 URL。Before you can use either application, you must configure at least one URL each for the Web service and the 入口網站web portal. Reporting ServicesReporting Services 將會針對在大多數部署方案下運作良好的這兩個應用程式 URL 提供預設值,其中包括與其他 Web 服務和應用程式並存的部署。provides default values for both application URLs that work well in most deployment scenarios, including side-by-side deployments with other Web services and applications.

  • 如果您安裝了預設組態,就表示已經使用預設值自動建立 URL。If you installed the default configuration, URLs were created automatically using the default values.

  • 如果您要使用 Reporting ServicesReporting Services 組態工具來建立或修改 URL,您可以接受 URL 的預設值或是指定自訂值。If you are using the Reporting ServicesReporting Services Configuration tool to create or modify the URLs, you can accept the default values for a URL or specify custom values. 當您定義此 URL 時,頁面上會出現此 URL 的測試連結,好讓您可以立刻確認您所指定的設定可產生有效的連接。A test link of the URL appears on page when you define the URL so that you can immediately confirm that the settings you specified result in a valid connection. 如需如何設定及測試 URL 的逐步指示,請參閱 設定 URL (SSRS 組態管理員)For step-by-step instructions on how to configure and test a URL, see Configure a URL (SSRS Configuration Manager).

定義報表伺服器 URLDefining a Report Server URL

此 URL 會精確識別報表伺服器應用程式執行個體在網路上的位置。The URL precisely identifies the location of an instance of a report server application on your network. 當您建立報表伺服器 URL 時,必須指定以下部分。When you create a report server URL, you must specify the following parts.

部分Part DescriptionDescription
主機名稱Host name TCP/IP 網路會使用 IP 位址來唯一識別網路上的裝置。A TCP/IP network uses an IP address to uniquely identify a device on the network. 電腦上安裝的每一張網路卡都有一個實體 IP 位址。There is a physical IP address for each network adapter card installed in a computer. 如果此 IP 位址解析成主機標頭,您就可以指定主機標頭。If the IP address resolves to a host header, you can specify the host header. 如果您正在企業網路上部署報表伺服器,可以使用電腦的網路名稱。If you are deploying the report server on a corporate network, you can use the network name of the computer.
通訊埠Port TCP 通訊埠是裝置上的端點。A TCP port is an endpoint on the device. 報表伺服器將會接聽指定之通訊埠上的要求。The report server will listen for requests on a designated port.
虛擬目錄Virtual directory 通訊埠通常是由多個 Web 服務或應用程式所共用。A port is often shared by multiple Web services or applications. 因此,報表伺服器 URL 一定會包含可對應至取得要求之應用程式的虛擬目錄。For this reason, a report server URL always includes a virtual directory that corresponds to the application that gets the request. 您必須針對接聽相同 IP 位址和通訊埠的每一個 Reporting ServicesReporting Services 應用程式指定唯一的虛擬目錄名稱。You must specify unique virtual directory names for each Reporting ServicesReporting Services application that listens on the same IP address and port.
SSL 設定SSL settings 您可以將 Reporting ServicesReporting Services 中的 URL 設定為使用之前安裝在電腦上的現有 SSL 憑證。URLs in Reporting ServicesReporting Services can be configured to use an existing SSL certificate that you previously installed on the computer. 如需詳細資訊,請參閱《 線上叢書》中的 在原生模式報表伺服器上設定 SSL 連接 SQL ServerSQL ServerFor more information, see Configure SSL Connections on a Native Mode Report Server in SQL ServerSQL Server Books Online.

預設 URLDefault URLs

當您透過 URL 存取報表伺服器或 入口網站web portal 時,此 URL 應該包含主機名稱,而不是 IP 位址。When you access a report server or the 入口網站web portal through its URL, the URL should include the host name and not the IP address. 在 TCP/IP 網路上,IP 位址將會解析為主機名稱 (或是電腦的網路名稱)。On a TCP/IP network, the IP address will resolve to a host name (or the network name of the computer). 如果您使用預設值來設定 URL,您應該能夠使用將電腦名稱或 localhost 指定為主機名稱的 URL 來存取報表伺服器 Web 服務:If you used the default values to configure URLs, you should be able to access the Report Server Web service using URLs that specify the computer name or localhost as the host name:

  • https://<computername>/reportserver

  • https://localhost/reportserver

讓這些 URL 可用的設定會出現在下表中,The settings that make these URLs available appear in the following table. 這個表格會顯示可透過包含主機名稱的 URL 來啟用報表伺服器連接的預設值:This table shows the default values that enable a report server connection though URLs that include a host name:

部分Part ReplTest1Value 說明Explanation
IP 位址IP address 全部指派All Assigned 網路上的網域名稱服務會將 URL 上的主機名稱解析為電腦的 IP 位址。The domain name service on your network resolves the host name on the URL to the computer's IP address. 只要您定義的 URL 中有指定此 IP 位址,傳送給特定主機的要求都將到達所要的目標。As long as the IP address is specified in the URL that you define, a request that is sent to a specific host will reach its intended target.
通訊埠Port 8080 通訊埠 80 是電腦上 TCP/IP 連接的預設通訊埠。Port 80 is the default port for TCP/IP connections on a computer. 由於報表伺服器會接聽通訊埠 80,所以您可以省略 URL 中的通訊埠編號。Because the report server is listening on port 80, you can omit the port number from the URL. 如果您指定另一個通訊埠,就必須在 URL 中指定它。If you specify another port, you must specify it in the URL.
虛擬目錄Virtual directory ReportServerReportServer 請注意,這兩個範例 URL 都包含虛擬目錄名稱。Notice that both of the example URLs includes the virtual directory name. 除非您自訂 URL 定義,否則您一定要在 URL 上指定應用程式的虛擬目錄名稱。Unless you customize the URL definition, you must always specify the application's virtual directory name on the URL.

注意

基礎 URL 保留項目會啟用 URL 上所要使用的任何有效主機名稱。An underlying URL reservation enables any valid host name to be used on a URL. Reporting ServicesReporting Services 組態工具會使用可允許主機名稱變化的語法來解析為特定的報表伺服器執行個體,以便在 HTTP.SYS 中建立 URL 保留項目。The Reporting ServicesReporting Services Configuration tool creates a URL reservation in HTTP.SYS using syntax that allows variations of the host name to resolve to a particular report server instance. 如需 URL 保留項目的詳細資訊,請參閱 關於 URL 保留項目和註冊 (SSRS 組態管理員)For more information about URL reservations, see About URL Reservations and Registration (SSRS Configuration Manager).

報表伺服器 URL 的伺服器端權限Server-side Permissions on a Report Server URL

每一個 URL 端點的權限會專門授與給報表伺服器服務帳戶。Permissions on each URL endpoint are granted exclusively to the Report Server service account. 只有這個帳戶具有可接受導向 Reporting ServicesReporting Services URL 之要求的權限。Only this account has rights to accept requests that are directed to the Reporting ServicesReporting Services URLs. 當您透過安裝程式或 Reporting ServicesReporting Services 組態工具來設定服務識別時,將會為此帳戶建立及維護判別存取控制清單 (DACL)。Discretionary Access Control Lists (DACLs) are created and maintained for the account when you configure the service identity through Setup or the Reporting ServicesReporting Services Configuration tool. 如果您變更此服務帳戶, Reporting ServicesReporting Services 組態工具將會更新您建立來收取新帳戶資訊的所有 URL 保留項目。If you change the service account, the Reporting ServicesReporting Services Configuration tool will update all URL reservations that you created to pick up the new account information. 如需詳細資訊,請參閱《 URL 保留項目語法 (SSRS 組態管理員)For more information, see URL Reservation Syntax (SSRS Configuration Manager).

驗證傳送給報表伺服器 URL 的用戶端要求Authenticating Client Requests Sent to a Report Server URL

根據預設,在 URL 端點上支援的驗證類型為 Windows 驗證。By default, the authentication type supported on the URL endpoints is Windows Authentication. 這是預設的安全性延伸模組。This is the default security extension. 如果您要實作自訂或表單驗證提供者,您必須修改報表伺服器上的驗證設定。If you are implementing a custom or Forms authentication provider, you must modify the authentication settings on the report server. 您也可以選擇變更 Windows 驗證設定,使其符合網路中使用的驗證子系統。Optionally, you can also change the Windows Authentication settings to match the authentication subsystem used in your network. 如需詳細資訊,請參閱《 線上叢書》中的 使用報表伺服器驗證 SQL ServerSQL ServerFor more information, see Authentication with the Report Server in SQL ServerSQL Server Books Online.

本節內容In This Section

設定 URL (SSRS 組態管理員)Configure a URL (SSRS Configuration Manager)
此主題提供在 Reporting ServicesReporting Services 組態工具中設定及修改 URL 保留項目的指示。This topic provides instructions for setting and modifying a URL reservation in the Reporting ServicesReporting Services Configuration tool.

關於 URL 保留項目和註冊 (SSRS 組態管理員)About URL Reservations and Registration (SSRS Configuration Manager)
URL 是用來存取應用程式和報表。URLs are used to access applications and reports. 此主題將說明應用程式 URL、預設 URL,以及 URL 保留項目和註冊在 Reporting ServicesReporting Services中的運作方式。This topic explains the application URLs, the default URLs, and how URL reservations and registration work in Reporting ServicesReporting Services.

URL 保留項目語法 (SSRS 組態管理員)URL Reservation Syntax (SSRS Configuration Manager)
Reporting ServicesReporting Services 使用的預設 URL 保留項目對於大多數狀況是有效的。The default URL reservations that Reporting ServicesReporting Services uses are valid for most scenarios. 但是,如果您想要限制存取或擴充部署來啟用網際網路或外部網路存取,您可能必須自訂設定以符合您的需求。However, if you want to restrict access or extend the deployment to enable Internet or extranet access, you might have to customize the settings to fit your requirements. 此主題將描述 URL 保留項目的語法,並提供為部署建立自訂保留項目的建議。This topic describes the syntax of a URL reservation and provides recommendations for creating custom reservations for your deployment.

組態檔中的 URL (SSRS 組態管理員)URLs in Configuration Files (SSRS Configuration Manager)
RSReportServer.config 檔包含了多個 URL 保留項目,以及 入口網站web portal 和報表伺服器電子郵件傳遞所使用的 URL。The RSReportServer.config file contains multiple entries for URL reservations and the URLs used by the 入口網站web portal and report server e-mail delivery. 此主題將摘要列出 URL 組態設定,好讓您可以了解其比較方式。This topic summarizes the URL configuration settings so that you can understand how they compare.

多重執行個體報表伺服器部署的 URL 保留項目 (SSRS 組態管理員)URL Reservations for Multi-Instance Report Server Deployments (SSRS Configuration Manager)
當您在單一電腦上安裝多個 Reporting ServicesReporting Services 執行個體時,您便增加了在註冊 URL 時遇到 URL 重複的機率。When you install multiple instances of Reporting ServicesReporting Services on a single computer, you increase the probability of encountering URL duplication when a URL is registered. 為了避免這些錯誤,請遵循本主題的建議來建立執行個體特有的 URL 保留項目。To avoid these errors, follow the recommendations in this topic for creating instance-specific URL reservations.

另請參閱See Also

設定 URL (SSRS 組態管理員)Configure a URL (SSRS Configuration Manager)