由买买提看人间百态

topics

全部话题 - 话题: localhost
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
p**5
发帖数: 273
1
ping localhost, 什么结果? 如果得到你的iP/通畅, DNS应该不是问题。
VPN后你的gateway就到学校的server 去了,应该能上网。
ping 学校的DNS,和web 地址。
你看IE/FireFox 的proxy设置了吗?
如果Proxy没有设置,建议system restore. restore to the day before you
installed updates.
别抓狂了.
S*3
发帖数: 162
2
ping localhost和g.cn(VPN or not)都通了
VPN后ping学校web也通了
IE没有设proxy :(
上来之前试过system restore了,没用……:(
P*****r
发帖数: 1308
3
最后自己用笨办法还原了,刷02再61.
总结两点给后来的新手:
1.好ims的那些个菜单项,记住是加在menu.rss的最末,channel^M之前
2.用yy,y$ 和p命令复制^M等符号,保证你自己加的菜单项格式什么的跟原版一致.
3.搜狐搞清是能看的,用vi把hdpfans上给的新ip加入到localhost里面就行,重启并不会
清楚已添加的东西
同时发现,youtube还是不work,点进去之后只能看到broadcast yourself(空的),然后就
跳出了,xlive里面好像没看到有youtube.
另外就是content多是多,但是无效的占大多数,除非能解决mms播放的问题.另外,网速也
是很大问题,试了很多中文频道,只有qqlive,hdpfans的电视直播还算速度快,其他的都
很卡,我这里是15m的下行,昨天晚上试的,不知道如果美国这边下午是不是会快点.
另外一个问题就是如果我接上usb硬盘,能不能bt阿,要怎么用这个播放器bt活着ftp呢?
有图形界面还是也得telnet啥的?
多谢

folders
delete the last line in rcS tha... 阅读全帖
j*****s
发帖数: 1784
4
来自主题: Hardware版 - amd raidxpert怎么安装的?
我的是两年前组装的电脑,主板是ASUS M4A785TD-V EVO,刚组了个raid 0,也装好了
win7 64bit,因此需要raidxpert软件去管理raid.在asus下载raidxpert,结果是些驱
动,也不知道怎么装.
看网友是通过浏览器访问
我在ie中敲入: http://localhost:25902/amd,浏览器不能显示该页面。
b******r
发帖数: 1137
5
I tried OpenMediaVault.
1. OMV 4.0 only works with Debian Squeeze, not Wheezy.
2. I cannot get the transmission plugin installed. just cannot find it in
the plugin list.
3. I am getting sustainable 10MB transferred speed over Gigabit line.
4. Someone has an installation script of SABnzbd and some other script on
OMV. Pretty handy. SABnzbd runs pretty well. It takes full CPU resource but
not much memory. 256M ram is more than enough.
5. I tested Newznab on a dockstar before. If you don't try to i... 阅读全帖
p******h
发帖数: 1783
6
来自主题: Hardware版 - 借人气问个gmail spam问题
【 以下文字转载自 PDA 讨论区 】
发信人: photonth (幸福的大玩家), 信区: PDA
标 题: 借人气问个gmail spam问题
发信站: BBS 未名空间站 (Fri Feb 15 08:46:09 2013, 美东)
昨天夜里,从我的gmail邮箱里发出了一堆spam给了通讯录里最近的一些联系人,spam
邮件如下,显示是从某个verizon wireless的ip发出的。在我gmail的sent mail
folder里面也能看到这些邮件。
想请问的是这是怎么回事?有人侵入了我的gmail邮箱么?还是什么病毒机器人所为?
用邮件里面那个链接为关键词搜索,查到似乎还有人出现同样问题,把这样的spam发到
博客或邮件列表中了。另外这些信息不知是否有用。
http://urlquery.net/report.php?id=949545
http://urlquery.net/report.php?id=1006231
Return-Path: < p******[email protected]>
Received: from localhost (8.sub-70-192-... 阅读全帖
p**o
发帖数: 3409
7
来自主题: Hardware版 - 请问在公司挖BTC有什么风险
1. 在公司外找一台ssh服务器(比如自己家里的 NAS),
打开 sshd 的 AllowTcpForwarding 和 PermitTunnel
2. 在公司机器上,ssh -D 到你的ssh服务器,
在本地任意端口比如9090开一个SOCKS5服务器
3. 在公司机器上以命令行运行 bitcoind,指定SOCKS5代理为 localhost:9090
没有p2p的风险
s***g
发帖数: 495
8
来自主题: Hardware版 - pogoplug可靠性如何?
My script to backup your rootfs.
I use it to backup my rootfs on a 2G USB stick and transfer my rootfs to a
NSA320 from POGO E02.
(%3)(21:40)(punk)~> sudo cat /root/bin/dumpdisk
#!/bin/sh
if [ $# -ne 1 -a $# -ne 2 ] || [ ! -b $1 ]; then
echo "`basename $0` [hostname]"
else
_T=ext3
umount ${1}1
echo "`basename $0` on `date '+%Y_%m_%d'` to $1 $2" >> /root/bin/log
&& \
dd if=/dev/zero of=$1 bs=1M count=1 && \
sync && sync ... 阅读全帖
r***o
发帖数: 1526
9
来自主题: Hardware版 - 请教个从公司上网的解决方案
ssh没封就简单了,远程家里的路由器上用dd-wrt,把Amdin-〉Remote Access下Enable
SSH management. 本地的PC上用putty, putty -D 8080 remote router's ip or ddns
name,
这样就有个local socks proxy了,在browser 里把socks proxy设成localhost:8080
就好了
很多防火墙都封了SSH的,连OpenVPN over port 443都会被防火墙的IDS 封掉
g***i
发帖数: 4272
10
来自主题: Hardware版 - 请教个从公司上网的解决方案
openssh自带socks
我是这样的:公司防火墙的代理只开放80和443.所以通过Corkscrwe来做ssh over http
,走http端口,连接到亚马逊的VPS,并绑定本地端口。
~/.ssh/config中配置好corkscrew
然后连接ssh -D [本地端口] -C user@server
上网时用socks5代理 localhost:[上边的本地端口]
配合proxycap,搞定一切。
S*A
发帖数: 7142
11
你设了 proxy 是只有服务 localhost 的 ssh tunnel,
缺省就是。如何从外面连 TCP 进来?不明白。
s***g
发帖数: 495
12
来自主题: Hardware版 - 如何备份可启动的 USB Drive?
(%73)(20:49)(pong)~/ws> sudo cat /root/bin/dump_root
#!/bin/sh
if [ $# -ne 1 -a $# -ne 2 ] || [ ! -b $1 ]; then
echo "`basename $0` [hostname]"
else
_T=ext3
umount ${1}1
echo "`basename $0` on `date '+%Y_%m_%d'` to $1 $2" >> /root/bin/log
&& \
dd if=/dev/zero of=$1 bs=1M count=1 && \
sync && sync && sync && \
parted $1 --script mklabel msdos && \
parted $1 --script mkpart primary $_T 2048s -- -1 && \
... 阅读全帖
E***e
发帖数: 3430
13
curl -Is --max-time 1 http://localhost/owncloud/ | head -1
E***e
发帖数: 3430
14
来自主题: Hardware版 - Ubuntu NAS简单方案
装owncloud:
https://software.opensuse.org/download/package?project=isv:ownCloud:
community&package=owncloud
找ubuntu 14.04部分
要么用默认存储路径,要么自己定义一个文件夹
如果想用/user/defined/path/to/owncloud/,就要建立到to,不要建立owncloud,然
后把to的owner设置给www-data
通过http://localhost/owncloud/首次访问oc,建立账户
突破513MB上传限制改:
"/var/www/owncloud/.htaccess" 里面的 "php_value upload_max_filesize" "php_
value post_max_size"
添加访问domain改"/var/www/owncloud/config/config.php" 里加入 "1 => 'local.ip
.example'," "2 => 'your.dns.example',"
oc新版本很不稳定,经常挂,挂了用命令... 阅读全帖
E***e
发帖数: 3430
15
来自主题: Hardware版 - Ubuntu NAS简单方案
装mediabrowser:
sudo add-apt-repository ppa:apps-z/mediabrowser
sudo apt-get update
sudo apt-get install mediabrowser
service mediabrowser start
访问http://localhost:8096/mediabrowser
E***e
发帖数: 3430
16
来自主题: Hardware版 - Ubuntu NAS简单方案
装mediabrowser:
sudo add-apt-repository ppa:apps-z/mediabrowser
sudo apt-get update
sudo apt-get install mediabrowser
service mediabrowser start
访问http://localhost:8096/mediabrowser
E***e
发帖数: 3430
17
来自主题: Hardware版 - Ubuntu NAS简单方案
mediabrowser在linux上没有专门的客户端
用web就行啦
localhost访问很快的
E***e
发帖数: 3430
18
[echte@localhost ~]$ texstudio
libGL error: pci id for fd 13: 80ee:beef, driver (null)
OpenGL Warning: glFlushVertexArrayRangeNV not found in mesa table
OpenGL Warning: glVertexArrayRangeNV not found in mesa table
OpenGL Warning: glCombinerInputNV not found in mesa table
OpenGL Warning: glCombinerOutputNV not found in mesa table
OpenGL Warning: glCombinerParameterfNV not found in mesa table
OpenGL Warning: glCombinerParameterfvNV not found in mesa table
OpenGL Warning: glCombinerParameteriNV not... 阅读全帖
m*******i
发帖数: 362
19
$DISPLAY设置了没?
没有的话设成localhost:0.0试试
y**b
发帖数: 10166
20
export DISPLAY=localhost:0.0
then ssh -X
works!
m*******i
发帖数: 362
21
$DISPLAY设置了没?
没有的话设成localhost:0.0试试
y**b
发帖数: 10166
22
export DISPLAY=localhost:0.0
then ssh -X
works!
a*********1
发帖数: 407
23
run xfig 作图, Error: Can't open display: localhost:0.0 请教如何 set
xterm? 多谢!
a*o
发帖数: 19981
24
来自主题: Hardware版 - ss中美友谊之桥
还是挺长挺麻烦的,网上有几个教程但是有的也都是东抄西抄不知所以然。
其实核心有以下几点:
1. dnsmasq加要翻墙的网站们到一个ipset里,姑且命名为gfwlist,同时让他们指
向下面一步建造的localhost DNS转发。
2. ss-tunnel建个DNS UDP转发,远端ssserver那头也必须支持UDP
3. ss-redir建个TCP转发,指向同一个ssserver
4. iptables把gfwlist的tcp request统统local转发#3
参照这几个核心思想随便找个网上教程follow就好。比如这个:
https://ilmvfx.wordpress.com/2015/09/25/temporary-gfw-fuck-tutorial-put-
shadowsocks-server-on-tomato-router
s********a
发帖数: 1680
25
来自主题: Hardware版 - 说个洗白的事
kms是不是有啥副作用 要关闭防病毒?然后还得改localhost啥的?装好能正常windows
upate?
z*****n
发帖数: 7639
26
来自主题: Internet版 - Microsoft IIS problem
在2000里面装了一个IIS. 结果除了localhost可以直接
进入主页外,用外部访问都要我输入NT workgroup的用户
名密码和工作组名。
在哪里可以改过来?
b******u
发帖数: 676
27
Sorry to borther 各位老大 by this kind of stupid Q..
System Admin is on vacation outside the States. I need to take care of an
emergency bug. On Microsoft knowledge base artical it says I need to turn on
something from Internet Service Manager. (ISM)
But where to open it??
I looked into Control Panel, didn't find it. Program - Admin tools, didn't get
it 1ther. I tried use HTML based, http://localhost:8932/iisadmin/iis.asp, says
page can not be displaied. Why port 8932 though? I tried 8080, same.
So,
b******u
发帖数: 676
28
yeah.. got it done through this way already... thanks anyway :)

an
turn
didn't
http://localhost:8932/iisadmin/iis.asp,
h**********e
发帖数: 3
29
我在WINDOWS下安装TOMCAT,按理说改变 server.xml的 port # ,再按 STARTUP ICON
就可以了。 但STARTUP 后,DOS WINDOW 里只有OFF字样, 去
HTTP://LOCALHOST:$PORT#也不见网页跳出来。这是为什么呢?
忙了一晚上了,找不出问题。
t********k
发帖数: 808
30
来自主题: Internet版 - IIS在XP Pro上的问题,请DX们指点
安装好后,起动IIS
在IE里输入http://192.168.2.5/, 会出来用户登录窗口
如果是http://localhost, 则说No web site is configured at this address.
而我在IIS设置默认网站里已经设置允许anonymous登录了啊
还要怎么设置?
谢谢
j**n
发帖数: 1
31
来自主题: Internet版 - IIS on win 2000 pro
I installed IIs on win 2000 pro. IIS admin service is on. But when I tried to
open localhost, I get 400 error. I find "World Wide Web Publishing Service" is
not working, when I try to start it, I got 1747 error(过程号超出范围). Anyone
can help me with that? Thanks a lot.
z******s
发帖数: 6
32
来自主题: Internet版 - [转载] Re: I have got a headache
【 以下文字转载自 Linux 讨论区,原文如下 】
发信人: Zeuszeus (Zeus), 信区: Linux
标 题: Re: I have got a headache
发信站: The unknown SPACE (Mon Oct 28 22:13:33 2002) WWW-POST
for Turbo on my own computer. But till now I still cannot see php active on
the localhost. How to do? Hunger for answer...
Thanks.
I installed Redhat7.2. I installed everything. So there should be php4.0.**.
I checked httpd.conf. Everything is there.
But php still does not work.
??????
y****t
发帖数: 10233
33
If ftp://localhost/ doesn't show anything, your ftp service might not be up
and running, check your services, if you are using windows.
If you try to access from outside, you might need port forwarding on your
router.
If you have done the port forwarding, still not, your ISP (ATT?) might block
the port 21.
a*********a
发帖数: 22
34
来自主题: Internet版 - IIS 一问
I setup an IIS webserver:
1. when I use http://localhost/... it's fine;
2. But when I try to use the http://my_ip/... then it asked me for
username and password. Why? and how to avoid it? I check the IIS
property, the anonymous access is allowed.
Thanks in advance.
b*********e
发帖数: 11
35
来自主题: Internet版 - Couldn't run apache on xp after sp2
Can't access htp://localhost
Can anyone has similiar experiences?
g***t
发帖数: 1279
36
来自主题: Internet版 - 问一个XP 装iis的问题
我想装iis到我的XP home上。按照网上的指示安装完了iis后,发现http://localhost/不能打开是什么原因?后来我又用了一台XP pro 的电脑来装iis,还是打不开,什么原因啊?
多谢了!
m******g
发帖数: 39
37
来自主题: Java版 - Re: 请教 rmi 的端口问题
RMI 通迅默认端口是1099, 你可以试试:
Naming.rebind("rmi://localhost:
/LeaseInterface", lsi );
then run
1) rmiregistry & (in UNIX)
or
start rmiregistry (in Win32)
2) run server
3) run client (without portnumber)
c*******c
发帖数: 7
38
SORRY I don't mention you are using an applet.
you can try this:
import java.net.*;
import java.applet.Applet;
import java.awt.Graphics;
public class AppletIp extends Applet{
public void AppletIp() {};
public void paint(Graphics g) {
InetAddress host=null;
try {host=InetAddress.getLocalHost();
} catch (Exception e) {}
String ip=host.getHostAddress();
System.out.print("IP: "+ip);
showStatus(ip);
}
public static void main (String argv[]) throws Exception
{
}
}
it ca
t******e
发帖数: 185
39
可以看一下/etc/service 文件
或者用java 或 perl 写一个小程序
例如
import java.net.*;
import java.io.*;
public class lookForPorts {
public static void main(String[] args) {

Socket theSocket;
String host = "localhost";
if (args.length > 0) {
host = args[0];
}
try {
InetAddress theAddress = InetAddress.getByName(host);
for (int i = 0; i < 65536; i++) {
try {
theSocket = new Socket(theAddress, i);
System.out.println("There is a server on port " +
i
s*******g
发帖数: 59
40
来自主题: Java版 - why it does not work?? :(((
i've met the similar problem as you before and i gave up.
Basically i tried to use applet to connect to mysql database.
I succeeded connecting to mysql database on localhost, but
somehow i can't connecting to mysql database on a remote machine.
i have set the policy file to something like policy.all, and
it seems that there are still some restrictions for applet.
If you find solution, please tell me. If not, i suggest you
change your program to some alternate architecture.
One quetion you may as
h******m
发帖数: 10
41
来自主题: Java版 - Run Servlet with Tomcat
Hi guys,
I installed tomcat 4,the server works fine (shows up the test page),and the
servlet code compiles, but I can't load it with local:8080
That's what I did:create a directory of 'classes' under
webapps/Root/WEB-INF/,then put my .class file there,but when I tried
http:localhost:8080/servlet/HelloWorld, it doesn't load,always shows up
....file not available, seems I put the .class into a wrong place.
What's wrong with it?
Thanks.
y**a
发帖数: 13
42
来自主题: Java版 - Run Servlet with Tomcat
Actually, you can save your own servlet files in any directory you like. But
you need configerate the server.xml file under conf dir to tell your tomcat
server where your application. Following is an example:
debug="0" privileged="true">

where path is the path for URL, and docBase is for your working directory on
your machine. So after you add above to server.xml, the URL would be
http://localhost:8080/w
l***a
发帖数: 18
43
来自主题: Java版 - j2ee启动时, 启动了tomcat吗?
Tomcat is a J2EE compliant application server, it is not J2ee. J2ee is a
standard, it can not be started.
If you installed Tomcat correctly, you could try to type "tomcat4 start" in
the command line as a su, and then http://localhost:8080 to see if tomcat
starts correctly. Also you can check /var/tomcat4/logs for the errors.

configuration.
OS,
e*i
发帖数: 3
44
但是我想象平时一样,在URL中敲http://127.0.0.0就可以找到我的网页,不想写什么h
ttp://localhost:8080/呢
g****n
发帖数: 18
45
I am simulating a webserver using Java. I am using Internet Explorer as a
client connecting, say http://localhost:8080 and then a webpage pop up.
Now it is required to compute round-trip time from the client to the server
and back to the client. For example, the client can send a 100-byte package to
the server and the server returns the package to the client, then it is
considered the RTT.
Now my question is, how do I do it since I am using a web browser as the
client?
Any suggestions?
Thanks!!!
s*********n
发帖数: 38
46
I am migrate a application from tomcat 4 to tomcat 5. After copying the files
and run the applicaiton again. I found that the security constraints don't
work appropriately:
once I point to the application at http://localhost:8080/myapps, I should be
lead to the login.jsp page before the index.jsp page. The problem is that the
application directly lead me to welcome.jsp
Any one can help?? THANK YOU!
below is the web.xml
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
d*r
发帖数: 238
47
来自主题: Java版 - How to connect to SQL2000?

Here is my program:
public class Test {
public Test() {
String sql =
"jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=testdb";
DriverManager.registerDriver(new SQLServerDriver());
Connection conn = DriverManager.createConnection(sql, "sa", "sa");
Statement stmt = conn.createStatement();
String query = "SELECT * FROM mytable";
ResultSet rs = stmt.executeQuery(query);
while (rs.next()) {
int i = rs.getInt("id");
l***r
发帖数: 459
48
I met a strange problem on JDBCRealm:
In my server.xml, it looks like:
className="org.apache.catalina.realm.JDBCRealm"
debug="99"
driverName="com.mysql.jdbc.Driver"
connectionURL="jdbc:mysql://localhost/auth"
connectionName="user"
connectionPassword="password"
userTable="users"
userNameCol="user_name"
userCredCol="user_pass"
userRoleTable="user_roles"
roleNameCol="role_name"
digest="MD5"
/>
It works if I use FORM authentication. So I am sure
mysql driver and MD5 are working fine. But it d
T*****e
发帖数: 361
49
多谢指教!我还以为servlets包括在j2se中了呢。
想象也是,j2se用来在desktop上运行,servlets自然就没有什么用了。
对了,你知道在安装Apache 2.0.50时Network Domain和Server Name这两项该
怎样设置么?那个localhost字符串什么的可以么?
虽然要做一个基于Web的project,可是有一些概念还是不是很清楚。惭愧啊。
另:我不是计算机专业的,别骂我哦。

p***p
发帖数: 559
50
多谢CYCLOPS指导
JSP 上传



Customer Picture Upload, ONLY JPEG















上传SERVLET
....
System.out.println("..........Kunde pruefen......Control.java");
String conString = "jdbc:mysql://localhost/pictest";
Cl
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)