[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-09-04 (世界標準時間)。"],[],[],null,["# IP allowlists\n\nThis page describes how to use the IP allowlists connectivity method so that\nDatastream can transfer data from a source database to a destination.\n\nPublic IP connectivity is most appropriate when the source database is external\nto Google Cloud and has an externally accessible IPv4 address and TCP\nport.\n\nSet up IP allowlists\n--------------------\n\nIf your source database is external to Google Cloud, then add the\nDatastream public IP addresses as an inbound firewall rule on the\nsource network:\n\n1. Open your source database machine's network firewall rules.\n\n2. Create an inbound rule.\n\n3. Set the IP address of the source database to Datastream's [IP\n addresses](/datastream/docs/ip-allowlists-and-regions).\n\n4. Set the protocol to `TCP`.\n\n5. Set the port associated with the `TCP` protocol. The default values are:\n\n - `1521` for an Oracle database\n - `3306`for a MySQL database\n - `5432`for a PostgreSQL database\n - `1433` for a SQL Server database\n - `27017` for a MongoDB database\n6. Save the firewall rule, and then exit.\n\nWhat's next\n-----------\n\n- Learn how about other network [connectivity methods](/datastream/docs/network-connectivity-options)."]]