localhost

Flash - HTTP requests won't work on localhost

心已入冬 提交于 2019-12-01 14:19:40
First off, I'm trying to fix something that I didn't build to begin with and the guy who's project it was assures me it was working fine when he left, although a version I haven't touched since he left seems to have the same issues. I'm also a bit new to programming in general so let me know if I've left out important information in my first post and I will try to add more info. I have a flash application hosted on-line that acts as a client for a server application written in Delphi. Most of the communication is done using sockets, which work fine. Uploading data files and downloading results

Connect to localhost from android device

淺唱寂寞╮ 提交于 2019-12-01 14:16:40
i have already search this topic and still don't know how to make it work :( I have a SOAP web service (ASP.NET), and this address (on my localhost) is http://localhost:50473/Service1.asmx then i have soap client on my android device, i want to connect to use service from server. Many people said that i can't connect through usb cable, and i have to connect to the same wifi network and use the internal IP. Ok, now my laptop and android device both connect to the wifi network, my laptop got 192.168.43.17 my android device got 192.168.43.26 So how can the device connect to the SOAP server above

springCloud API网关 zuul 无法正确重定向

时光怂恿深爱的人放手 提交于 2019-12-01 14:15:39
环境描述: 一个注册中心,一个 springCloud API网关 zuul,一个用户系统,一个账户系统。 http://localhost:5555/account 访问的是账号系统 http://localhost:5555/user 访问的是用户系统 问题现象: 在没登录的情况下访问 http://localhost:5555/account/walletTopUp?amount=40 正常应该跳转到 http://localhost:5555/user/login ,但跳转到 http://localhost:5555/account/login zuul 过滤器代码 package com.sande.apigateway.security; import com.netflix.zuul.ZuulFilter; import com.netflix.zuul.context.RequestContext; import com.sande.apigateway.utilsInterface.ITokenManagement; import java.io.IOException; import javax.annotation.Resource; import javax.servlet.http.Cookie; import javax.servlet.http

PHP not saving data to database

纵饮孤独 提交于 2019-12-01 14:04:45
I feel like I'm getting closer to figuring out why PHP is not saving data to my database . I've tried learning PHP and MySQL from numerous tutorials and all have failed me. So... I feel like there may be something that I haven't been specifying when trying to connect to a MySQL database. In a recent tutorial that simply outputs text from an input to a table in MySQL, I got an Error stating that the server "localhost" was not found. My Apache has been installed on port 60 (not the default port 80). So I figured that that might be the problem. I tried adding localhost:60 to the mysqli_connect

三大数据库默认端口

落花浮王杯 提交于 2019-12-01 13:54:50
1.Oracle数据库的默认端口:1521 Url:"jdbc:oracle:thin: @localhost :1521:orcl"; DriverName:"oracle.jdbc.driver.OracleDriver"; 2.MySQL数据库的默认端口:3306 Url:jdbc:mysql://localhost:3306/test? user=root&password=xxxxx; (MySQL5系列) DriverName:"com.mysql.jdbc.Driver"; Url:jdbc:mysql://localhost:3306/test? user=root&password=xxxxx&serverTimezone=UTC&characterEncoding=utf-8&useSSL=false; (MySQL8系列) DriverName:"com.mysql.cj.jdbc.Driver"; 3. sqlserver数据库的默认端口号为:1433 URL:"jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=dbname"; DriverName: "com.microsoft.jdbc.sqlserver.SQLServerDriver"; 来源: https://www.cnblogs

Centos6.9安装SonarQube7.6

二次信任 提交于 2019-12-01 13:48:15
1 安装前准备 Oracle JDK 8 MySQL数据库,具体可参考 Centos6.9安装MySQL5.6 SonarQube7.6,Community Edition版本下载地址:https://binaries.sonarsource.com/Distribution/sonarqube/sonarqube-7.6.zip 2 MySQL建库 2.1登录到MySQL mysql -u root -p 输入正确密码,进入MySQL 2.2 创建数据库和用户并授权 -- 数据库 CREATE DATABASE sonar CHARACTER SET utf8 COLLATE utf8_general_ci; -- 用户 CREATE USER 'sonar' IDENTIFIED BY 'sonar'; -- 权限 GRANT ALL ON sonar.* TO 'sonar'@'%' IDENTIFIED BY 'sonar'; GRANT ALL ON sonar.* TO 'sonar'@'localhost' IDENTIFIED BY 'sonar'; FLUSH PRIVILEGES; 3 安装SonarQube 3.1使用xftp把安装包上传到服务器/tmp目录 3.2 把包拷贝到/opt目录下 cp sonarqube-7.6.zip /opt 3.3到

GA Event Tracking from localhost

梦想的初衷 提交于 2019-12-01 13:33:41
I've been trying to track file downloads from localhost, but can't manage to get it working. Visits are being recorded, but the custom tracking pushes do not. I am able to see __utm.gif request: http://www.google-analytics.com/__utm.gif ?utmwv=5.4.3d &utms=10 &utmn=1689575639 &utmhn=localhost &utmcs=UTF-8 &utmsr=1920x1080 &utmvp=1358x565 &utmsc=24-bit &utmul=en-us &utmje=1 &utmfl=11.7%20r700 &utmdt=Something-something-something &utmhid=1913734755 &utmr=0 &utmp=%2Fsomething &utmht=1371735965300 &utmac=UA-XXXXXXX-X &utmcc=__utma%3D1.515487588.1371735687.1371735687.1371735687.1%3B%2B__utmz%3D1

Script works in localhost but not on server

霸气de小男生 提交于 2019-12-01 13:11:58
I have this problem where a code is working on localhost but not when I upload it to the server. I want to implement this: Polaroid Photobar Gallery Here's a link to my website: Zodiac 2013 Note: You need to go the gallery tab to view it. EDIT: Please view it in Google Chrome for best viewing experience. I tried using FireBug but to no help. With the Inspect Element feature of google chrome, I figured out that the server didn't accept the javascript code written inside the document . The code is kind of huge involving many files, here's the main one: THE HTML MARKUP <h1>Polaroid Photobar

Connect to localhost from android device

怎甘沉沦 提交于 2019-12-01 13:11:03
问题 i have already search this topic and still don't know how to make it work :( I have a SOAP web service (ASP.NET), and this address (on my localhost) is http://localhost:50473/Service1.asmx then i have soap client on my android device, i want to connect to use service from server. Many people said that i can't connect through usb cable, and i have to connect to the same wifi network and use the internal IP. Ok, now my laptop and android device both connect to the wifi network, my laptop got

CentOS 7安装VNC Server

99封情书 提交于 2019-12-01 13:09:12
本文操作流程具体参考自https://docs.oracle.com/cd/E52668_01/E54669/html/ol7-vnc-config.html 系统版本 $ uname -a Linux localhost.localdomain 3.10.0-327.el7.x86_64 #1 SMP Thu Nov 19 22:10:57 UTC 2015 x86_64 x86_64 内核 $ cat /etc/redhat-release CentOS Linux release 7.2.1511 (Core) 当初安装时选择的是最小化的安装模式,所以如果你已经安装了图形化界面的系统可以跳过下面的X-Window安装,直接安装VNC Server 以下命令必须以 root 权限运行,要切换到 root,或者在想要执行操作的用户添加到sudo中,那每个命令前面都要加上sudo前缀表示当前用户临时拥有像root一样的执行权限 # visudo 找到“root ALL=(ALL) ALL”,在下面添加一行:XXX ALL=(ALL) ALL,XXX为用户名 好了,废话不多说,开始安装VNC Server 1 首先需要安装X-Window # yum check-update # yum groupinstall "X Window System" # yum install