Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 285 for LOCALHOST (0.05 seconds)

  1. src/test/java/org/codelibs/fess/helper/CurlHelperTest.java

            setupMockConfig("localhost:9200,localhost:9201,localhost:9202", "", "");
    
            curlHelper.init();
    
            NodeManager nodeManager = getNodeManager(curlHelper);
            assertNotNull(nodeManager);
        }
    
        @Test
        public void test_init_hostsWithSpaces() {
            setupMockConfig(" localhost:9200 , localhost:9201 , localhost:9202 ", "", "");
    
            curlHelper.init();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  2. cmd/endpoint_test.go

    		{[]string{"http://localhost:9000/d1", "http://localhost:9001/d2", "http://localhost:9002/d3", "http://localhost:9003/d4"}, []string{"localhost:9000", "localhost:9001", "localhost:9002", "localhost:9003"}, "localhost:9000"},
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 18.9K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/util/IpAddressUtilTest.java

            if (localhost.getHostAddress().contains(":")) {
                // IPv6 localhost
                String opensearchUrl = IpAddressUtil.buildUrl("http", localhost, 9200, "");
                assertTrue(opensearchUrl.matches("http://\\[.*\\]:9200"));
            } else {
                // IPv4 localhost
                String opensearchUrl = IpAddressUtil.buildUrl("http", localhost, 9200, "");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 06 08:31:03 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  4. internal/config/etcd/etcd_test.go

    	}{
    		// Invalid inputs
    		{"https://localhost:2379,http://localhost:2380", nil, false, false},
    		{",,,", nil, false, false},
    		{"", nil, false, false},
    		{"ftp://localhost:2379", nil, false, false},
    		{"http://localhost:2379000", nil, false, false},
    
    		// Valid inputs
    		{
    			"https://localhost:2379,https://localhost:2380",
    			[]string{
    				"https://localhost:2379", "https://localhost:2380",
    			},
    			true, true,
    		},
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  5. cmd/net.go

    	// addresses. I.e, 0.0.0.0:9000 like ":9000" refers to port
    	// 9000 on localhost.
    	if host.Name != "" && host.Name != net.IPv4zero.String() && host.Name != net.IPv6zero.String() {
    		localHost, err := isLocalHost(host.Name, host.Port.String(), host.Port.String())
    		if err != nil {
    			return err
    		}
    		if !localHost {
    			return config.ErrInvalidAddressFlag(nil).Msg("host in server address should be this server")
    		}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 9.6K bytes
    - Click Count (1)
  6. src/test/java/org/codelibs/fess/helper/PathMappingHelperTest.java

            pathMapping.setReplacement("http://localhost/");
            pathMappingList.add(pathMapping);
    
            pathMappingHelper.cachedPathMappingList = pathMappingList;
    
            String text = "\"file:///home/\"";
            assertEquals("\"http://localhost/\"", pathMappingHelper.replaceUrls(text));
    
            text = "\"file:///home/user/\"";
            assertEquals("\"http://localhost/user/\"", pathMappingHelper.replaceUrls(text));
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 15.3K bytes
    - Click Count (0)
  7. internal/config/config_test.go

    		},
    		// Keys and input order of k=v is same.
    		{
    			input: `connection_string="host=localhost port=2832" comment="really long comment"`,
    			keys:  []string{"connection_string", "comment"},
    			expectedFields: map[string]struct{}{
    				`connection_string="host=localhost port=2832"`: {},
    				`comment="really long comment"`:                {},
    			},
    		},
    		// Keys with spaces in between
    		{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  8. cmd/net_test.go

    		{"", "", false, errors.New("unable to process empty address")},
    		{":9000", ":9000", true, nil},
    		{"localhost:9000", ":9000", true, nil},
    		{"localhost:9000", "http://localhost:9000", true, nil},
    		{"http://localhost:9000", ":9000", true, nil},
    		{"http://localhost:9000", "http://localhost:9000", true, nil},
    		{"http://8.8.8.8:9000", "http://localhost:9000", false, nil},
    	}
    
    	for _, testCase := range testCases {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  9. docs/en/docs/tutorial/cors.md

    ## Origin { #origin }
    
    An origin is the combination of protocol (`http`, `https`), domain (`myapp.com`, `localhost`, `localhost.tiangolo.com`), and port (`80`, `443`, `8080`).
    
    So, all these are different origins:
    
    * `http://localhost`
    * `https://localhost`
    * `http://localhost:8080`
    
    Even if they are all in `localhost`, they use different protocols or ports, so, they are different "origins".
    
    ## Steps { #steps }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  10. docs/zh/docs/tutorial/cors.md

    ## 源 { #origin }
    
    源是协议(`http`,`https`)、域(`myapp.com`,`localhost`,`localhost.tiangolo.com`)以及端口(`80`、`443`、`8080`)的组合。
    
    因此,这些都是不同的源:
    
    * `http://localhost`
    * `https://localhost`
    * `http://localhost:8080`
    
    即使它们都在 `localhost` 中,但是它们使用不同的协议或者端口,所以它们都是不同的「源」。
    
    ## 步骤 { #steps }
    
    假设你的浏览器中有一个前端运行在 `http://localhost:8080`,并且它的 JavaScript 正在尝试与运行在 `http://localhost` 的后端通信(因为我们没有指定端口,浏览器会采用默认的端口 `80`)。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 4.9K bytes
    - Click Count (0)
Back to Top