localhost

MAMP local host not working

女生的网名这么多〃 提交于 2019-12-03 06:04:54
My MacBook Pro 13 inch is running on OS X 10.8.2 and I have downloaded MAMP 2.1.4. I want to run the MAMP program. After I connect to the servers successfully I then try to press the 'open start page'. It takes me to the Google Chrome browser with a page that says the page can't be found. I've installed MAMP and am running the Apache server and MySQL servers fine through either port 80 and 3306 or 8888 and 8889 - using either combination makes the status lights go green. The local host can't be found for some reason. I have done extensive research where I have: uninstalled and reinstalled MAMP

How to get Fiddler to filter specific localhost ports

試著忘記壹切 提交于 2019-12-03 05:53:15
问题 In a reverse of the usual request of how do I get Fiddler to capture requests to localhost , how do I stop it getting specific ports? Since installing the IE 9 RC, I'm getting loads of requests to Mesh appearing ... http://localhost:2048/V4.0i/Sync/Devices/SDI6BHE6YYAHMR67S32S4MTROU/Endpoints I've tried adding locahost:2048 to the Fiddler Filters / Hide the following Hosts, but that's not working 回答1: Sussed it ... in Fiddler, open the custom rules with Ctrl+R and add to the OnBeforeRequest .

Accessing local GAE SDK server from another computer in the network

最后都变了- 提交于 2019-12-03 05:45:38
I have development server (from google appengine sdk), running on my Ubuntu computer. I can access my site by navigating to localhost:8080 I want to access that site from another computer (with Vista OS) in the network. ifconfig prints the following (snippet): eth1 Link encap:Ethernet HWaddr 00:1f:e1:c5:30:cf inet addr:192.168.1.103 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::21f:e1ff:fec5:30cf/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:39204 errors:0 dropped:0 overruns:0 frame:46271 TX packets:26198 errors:6 dropped:0 overruns:0 carrier:0 collisions

Domain foo.bar points 127.0.53.53 — why?

旧巷老猫 提交于 2019-12-03 05:38:20
问题 I just noticed today that domain foo.bar resolves to 127.0.53.53 (http://foo.bar, http://whois.domaintools.com/foo.bar) In my case this ends up on the localhost Apache, but I wonder why the registrant did not simply chose to point to 127.0.0.1? Is there any specific reason? 回答1: 127.0.53.53 is a special IP addresses that is used by ICANN to prevent DNS name collisions with the new gTLDs. In your case the .bar gTLD was delegated in February. So the 127.0.53.53 is a big hint for people using

Llinux操作系统常用命令

女生的网名这么多〃 提交于 2019-12-03 05:11:55
最近需要用到Llinux操作系统,在这里记录下一些常用的命令。 xshell命令: sz下载 rz 上传 linux命令: sudo passwd root 设置root密码 su 切换root权限 exit 退出root权限 mkdir 创建目录 rm -rf 删除目录 tar -zxvf 文件名 -C 指定路径 (解压到指定目录) mv 修改前 修改后 (修改目录名) java -version 版本信息 vim 修改文件 i输入 :q退出 :q!强制退出 :wq保存并关闭 pwd 查看当前路径 /etc/profile 所有用户环境变量 ~/.bashrc 当前用户环境变量 /etc/environment 系统级环境变量 切换到root账户执行操作需要重新加载环境变量 如: source /etc/environment 下面是一些应用系统启动的命令: cd /usr/apps/zookeeper-3.4.6/bin ./zkServer.sh start ./zkServer.sh status cd /usr/apps/kafka_2.10-0.8.2.0/bin ./kafka-server-start.sh -daemon ../config/server.properties 启动 ./ kafka-topics.sh --list --zookeeper

HttpClient详细使用示例

梦想与她 提交于 2019-12-03 04:36:33
版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。 本文链接:https://blog.csdn.net/justry_deng/article/details/81042379 HTTP 协议可能是现在 Internet 上使用得最多、最重要的协议了,越来越多的 Java 应用程序需要直接通过 HTTP 协议来访问网络资源。虽然在 JDK 的 java net包中已经提供了访问 HTTP 协议的基本功能,但是对于大部分应用程序来说,JDK 库本身提供的功能还不够丰富和灵活。HttpClient 是 Apache Jakarta Common 下的子项目,用来提供高效的、最新的、功能丰富的支持 HTTP 协议的客户端编程工具包,并且它支持 HTTP 协议最新的版本和建议。 HTTP和浏览器有点像,但却不是浏览器。很多人觉得既然HttpClient是一个HTTP客户端编程工具,很多人把他当做浏览器来理解,但是其实HttpClient不是浏览器,它是一个HTTP通信库,因此它只提供一个通用浏览器应用程序所期望的功能子集,最根本的区别是HttpClient中没有用户界面,浏览器需要一个渲染引擎来显示页面,并解释用户输入,例如鼠标点击显示页面上的某处,有一个布局引擎,计算如何显示HTML页面,包括级联样式表和图像

What is the purpose of the Microsoft Loopback Adapter?

℡╲_俬逩灬. 提交于 2019-12-03 04:20:35
问题 Just as the question says, what is the Microsoft Loopback Adapter, and as a bonus, what scenerios as a developer would it be useful? I've noticed it's been required when installing a couple of applications to my machine, but aside from guessing, I've never have had a sturdy understanding of it's functionality. I've read a couple of articles online, but nothing really made me "get it". While I don't need a hugely complex answer, a little explaination would be very useful. Thanks! George 回答1:

How to run html file on localhost?

走远了吗. 提交于 2019-12-03 04:15:20
问题 I have a html file and i run it on localhost. But, this file includes mirror using webcam. Example, how can i run this html file on localhost? Webcam starting on this example when check to live checkbox. Thanx for your reply. 回答1: You can use python -m http.server . By default the local server will run on port 8000. If you would like to change this, simply add the port number python -m http.server 1234 If you are using python 2 (instead of 3), the equivalent command is python -m

“Ad-hoc webserver” for static files on UNIX/MacOSX?

我的未来我决定 提交于 2019-12-03 04:06:21
问题 Is there such a thing as a tiny little webserver that I can invoke from the command line that just fetches files from the local filesystem and serves them via HTTP on specific port? I'd like to be able to do something like this: $ cd ~/Sites/mysite $ serve . 10.0.1.1 8080 This should fire up a webserver that listens on 10.0.1.1:8080 and serves files from the current directory (".") – no PHP, ASP or any of that needed. Any suggestion greatly appreciated. 回答1: If you have python installed: $

correct configuration for nginx to localhost?

耗尽温柔 提交于 2019-12-03 03:34:24
问题 I just installed nginx and php fastcgi about an hour ago, and after reading examples of a quick starting configuration, and the nginx documentation etc, I just cant get it to work. No matter what I change or try, I always only get the "Welcome to Nginx!" screen on "localhost/..." - I cant even call a simple index.html My config: (the stuff in the comments is what I tried out) // default nginx stuff (unchanged) server { #listen 80 default_server; #listen 80 default; listen 80; #server_name