Ubuntu Networking :: Cannot Create /dev/tcp/localhost/5744?

Dec 31, 2010

I have an application that listens to port 5744. I send to it a command from a terminal like this

Code:
echo my-command > /dev/tcp/localhost/5744
and replies

[code]....

View 3 Replies


ADVERTISEMENT

Ubuntu Installation :: Create .php Pages So Can Access Them Using Http://localhost

Jun 16, 2011

I already installed apache 2 & php 5 .. but I don't know where I create .php pages so I can access them using http://localhost

View 4 Replies View Related

Ubuntu Networking :: PVM Cannot Add Localhost 9.10?

Feb 9, 2010

PVM 3.4.6 cannot add localhost. It says it can't find pvmd3, but why is it even looking for that when that is not part of the installation?

View 2 Replies View Related

Ubuntu Networking :: Tries To Go Through Localhost For Everything

Jun 6, 2010

So i was trying to Wget some files from a server to test how much i know about Wget. Running Karmic.I think it connecting to localhost is wrong right?

View 5 Replies View Related

Ubuntu Networking :: Suddenly Don't Have Localhost?

Mar 30, 2010

I tend to forget stuff if I don't work with it for awhile. somehow I struggled through and figured out (with a lot of help) how to set up Ubuntu Intrepid server edition on my computer, and am serving my website from my computer. For times when the free DNS nameserver is 'closed' (often lol) I use localhost and can see/work on my site. Suddenly, when I type localhost into the address bar, I get a blank page, nothing! I'm not sure what to do....can someone please help because am going to use my website to present a class project, and was going to use localhost (bring my computer) in case the nameserver was down, I have to be able to display it.

View 3 Replies View Related

Ubuntu Networking :: Localhost Pointing To 192.168.0.1 Instead Of 127.0.0.1?

Apr 26, 2011

When i try to connect to MySQL database with MySQL Workbench using root@localhost i get following message: Failed to Connect to MySQL at localhost:3306 with user root

Access denied for user 'root'@'192.168.0.1' (using pasword: YES) which is ok, becouse 192.168.0.1 is not listed as a host from which MySQL server should accept connections.

I am a little confused, becouse i tell MySQL Workbench to connect using localhost, so server should (at least i think so) receive connection from 127.0.0.1

I think i had similar issue with PostgreSQL some time ago, but i just allowed connections from 192.168.0.1 then.

My host file is:
Code:
127.0.0.1 localhost
127.0.0.1 localhost.localdomain localhost
#::1 ent-pc localhost6.localdomain6 localhost6
127.0.0.1 ent-pc

[Code]...

View 5 Replies View Related

Ubuntu Networking :: Cannot Connect Via Localhost

May 24, 2011

i re-installed ubuntu 11.04 two days ago, to join 2 partitons into 1,anyway i then setup vnc and ssh as normal but now it just times out on both when trying to connect is there a firewall or something in place by default?ports show as open when scanning my external isp address, ubuntu box is in the dmz so no need for ports being forwarded.i also cannot connect via localhost, the above testing i could not connect from my worki can also netcat to my external ip via ssh/vnc ports and read the banners fine?

View 1 Replies View Related

Ubuntu Networking :: Access Web Server On Localhost?

May 27, 2010

I have a laptop with Apache, MySQL, PHP, etc, and I'm able to work on web programming on my local server while at home, connected to my network. But I would like to be able to work on the local websites when I'm not connected to any networks, both for demonstrating a site, or simply working on it.

I was surprised to find that I could not connect to localhost at all without a network connection. I tried my normal Google for a solution, but, of course, that was futile without a network.

Now, I'm at home, and of course, it works because I have wireless. I don't really want to disconnect that to figure it out, so I thought maybe some nice soul here might know how to do this. Surely it can't be hard, can it? But, it's certainly not obvious.

View 3 Replies View Related

Ubuntu Networking :: Can't Connect To Localhost Trough Lan?

Jul 22, 2010

i know it all sounds weard but ive been searching google so much now.. look the setup is kinda straight forward. We got a test server for websites. This server has lamp server configured. Now i have a Website in the apache www folder. From here on everything works fine in http://localhost or 127.0.1.1 etc etc. also i have configured virtualhosts. This so we can have a live enviroment but its actually a test enviroment.

Now i try to connect trough the lannetwork! so i goto my windows client and hit in the browser :http://(serverip+port) and also tried http://(serverip) When i do this i get a 403 forbiddin acces. I solved that problem by deleted a line in the apache2.conf wot was called : virtualHost xxx.xxx.xxx.xx: xx

Now Hes loading the page but says he cant connect to 127.0.1.1 Any1 knows a solution? (sorry for my bad grammer btw )

View 9 Replies View Related

Ubuntu Networking :: 10.04.1 Remote Desktop - Only Allow Localhost?

Oct 19, 2010

Is there a way to only accept SSH Tunneled VNC connections from localhost? I would like to close port 5900 on my router and only have SSH open.

View 2 Replies View Related

Ubuntu Networking :: Avahi Finds Nothing On Localhost?

May 5, 2011

I've got problem with Avahi on my laptop. It can see the other machines and services on the LAN but not it's own local services and I have no idea why. The laptop (hostname: forseti) sports Ubuntu 10.10, installed aavahi-daemon, avahi-dnsconfd and libapache2-mod-dnssd. Firewall is disabled. Other hosts on the LAN are: magni (openSuSE 11.4 with lots of services published and visible from forseti) and freya (Ubuntu 10.10 with gnome-user-share up & running). Forseti can see the other hosts and their services but not itself. The other hosts can't see forseti. Checked both with nautilus and CLI's avahi-browse.

View 1 Replies View Related

Ubuntu Networking :: Computer Address Is Localhost Instead Of 192.168.x.x?

Jul 22, 2011

One of the computers attached to the network is giving localhost instead of 192.168.x.x in Remote Desktop config page therefore I'm unable to access it:

Quote: Your desktop is only reachable over the local network. Others can access your computer using the address localhost. Other computer and even other accounts on the same computer are showing something like:

Quote: Your desktop is only reachable over the local network. Others can access your computer using the address 192.168.0.8. How can I fix this?

View 2 Replies View Related

Networking :: Can't Connect To Localhost By IP

Dec 30, 2010

I am running the HTTP server (Jetty) from Eclipse IDE, which listens on port 8888. I can connect to it in the browser with URL [URL] but not with http://192.168.1.100:8888/home, where 192.168.1.100 is my local IP. Not from this PC or any other PC in the LAN. Firewall is disabled. I can successfully ping to 192.168.1.100. I can share from this PC with SAMBA.
All configuration and logs look fine.

View 6 Replies View Related

Ubuntu Networking :: Can't Ping Localhost When Not Connected To Network

Jul 8, 2010

I'm having trouble pinging localhost, specifically, pinging localhost when I'm not connected to a network. When I try it keeps telling me the operation is not permitted:

Code:

matt@mubuntu:~$ ping localhost
PING localhost (127.0.0.1) 56(84) bytes of data.
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted

if I connect to the network, start pinging then disconnect it continues pinging. Google seems to think it could be something to do with my iptables setup:

Code:

matt@mubuntu:~$ sudo iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination

[code]....

When not connected to network

Code:

matt@mubuntu:~$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo

But as far as I can tell there isn't anything in there which would stop me connecting to the localhost (I also can't connect to my local apache instance when offline)... (It's worth mentioning that a couple of weeks ago I had the pc setup to share it's internet connection with a laptop, ala this guide, however I've since disabled the iptables rules and disabled ip forwarding.)

View 4 Replies View Related

Ubuntu Networking :: Localhost Can Read Phpinfo() But Not Index.php?

Jan 7, 2011

Installed apache2 and php5, got the message "It works!" and phpinfo() displays the info page from withing the my folder. But when i put my index.php and rest of the files in www/mysite/ I only get a blank page displaying nothing, as if my php scripts wont parse. If I create a plain html "hello world" doc it displays that.. I've used this guide before [URL] and got it to work last time some months ago, but this time around after clean ubuntu reinstall it's showing nothing, remember I struggled with some permission things last time doing sudo chmod a+rwx /var/www/* and same for subfolders css and images. but now nothing happens, no errors or nothing. I didnt have to do enything else last time, no php.ini or nothing, it just worked, after I set permissions to get css and images to display correctly. Tried to put my files in www alone but dont work either (also cannot delete the default index.html in the www folder). Tried to restart apache2 and the computer, but no luck. My site also works online from other servers, so this is a local problem.

View 3 Replies View Related

Ubuntu Networking :: Setting Up A Localhost-only Squid Server

Jul 16, 2011

I'm going to be going off to college in the fall and the internet probably won't be blazing fast like it is at home, so I was wanting to set my desktop up so that it would act as a local cache of the parts of the internet i frequent the most, but I can't find anything like that. All the tutorials I've found are either for sharing the load on a server or for setting up a separate machine as the squid.

View 3 Replies View Related

Ubuntu Networking :: See Localhost Site In The Other Networked Computers?

Aug 8, 2011

I have developed a site in localhost in my laptop. Here are the specs: Ubuntu 11.04, Joomla! 1.7, Db Ver: 5.1.54-1ubuntu4, PHP Ver: 5.3.5, Web Server Apache/2.2.17

This laptop is connected to a wi-fi network. Task: I like to see this local site from my laptop to other desktop computers in the same network. I understand that I need to do some changes in /etc/hosts what changes I need to do to be able to see my localhost site in the network.

View 2 Replies View Related

Fedora Networking :: Setting Localhost As First Dns?

May 2, 2010

i am trying to use a local DNS service (unbound), and for that, i want each connection (eth0, wlan0) to first use localhost as DNS (127.0.0.1) and then try the DNSs it gets from the DHCP. this is a laptop so it is not just setting it for a single connection but a system default.

i looked and searched and there does not seem to be a straightforward way of doing it. i am usign gnome with networkmanager, and setting the method as "get IP only" is not suitable, as it omits the DHCP-provided DNSs, and also cannot be set as the default method.

View 1 Replies View Related

Ubuntu Networking :: WxMaxima Can't Connect To Maxima - Adding 127.0.0.1 Localhost?

Jul 28, 2010

I am looking how to fix a problem like is in the subject. I searched internet and lots of people wrote that to fix this problem need to add a line in /etc/hosts file:127.0.0.1 localhostMoreover i added later also line:127.0.0.1 localhost.localdomain localhostbut it didn't help.

View 1 Replies View Related

Fedora Networking :: Apache Localhost Works But Not The Ip?

Mar 29, 2009

I have installed apache. The problem is that localhost works but not the ip for viewing my hosted sites.

How can i rectify this error?

View 5 Replies View Related

Fedora Networking :: DNAT To Localhost Not Supported?

Dec 4, 2009

I'm having problems with NX, it's doing strange things, trying to connect to some IP host in timbuktoo because my DNS provider's DNS sucks AND because NX is looking up the host "localhost" without first consulting my hosts file (which nsswitch explicitly tells it to do). THAT's all beside the point.

To work around this apparent bug in NX I tried creating an iptables rule to redirect traffic destin for a certain IP (10.x.x.x) to localhost (127.0.0.1) with the following rule: iptables -t nat -I PREROUTING -d 10.x.x.x -j DNAT --to 127.0.0.1. After adding the above rule, my attempts to connect to that host continued to get routed right off into the internet where I DIDN't want them to go. Instead of being redirected to the localhost/loopback address.

It seems DNAT to localhost is not supported? A Google search reveals many other people having this issue but blaming it on everything but iptables. I'm proposing that it's not supported, by design or not, to redirect traffic from a NIC to the loopback network?

View 1 Replies View Related

Networking :: Sending Packets To Localhost Through Another Computer?

Jun 10, 2009

Suppose I have computer A with ip address on eth0 of 192.168.0.1 and ip address on eth1 of 192.168.1.1. If I send packets to 192.168.1.1 from computer A, it automatically uses the loopback interface. Is it possible to modify the routing table some how to send these packets out on eth0 instead and have them route around the network and come back on eth1.I've tried 'route add -host 192.168.1.1 dev eth0' but it seems to completely ignore this entry.

View 5 Replies View Related

Networking :: Snmp - Timeout: No Response From Localhost

May 17, 2010

I am facing issues on few machines but rest all are ok. They have the same config but I don't know what is wrong. I tried as much as I could but couldn't fix it. Here is the rpms installed on this client

[code]...

The same config is working for all clients but have problems with few machines. May be I am doing something wrong in config or testing at very basic level.

View 1 Replies View Related

Networking :: Pinging Localhost Comes From Source Of Eth0

Jan 13, 2011

I was doing some one-handed-one-fingered typing while talking on the phone. Due to lack of paying attention, I executed the following command: ifconfig eth0 1300 (was meant to be ifconfig eth0 mtu 1300) this of course killed the connection, so I got the box rebooted. This box functions as an openswan/firewall server. everything came up okay, end users are reporting no problems with the vpn or the firewall function. However, one service is failing because the route to localhost seems to be originating from eth0. when I `ping localhost`, the traffic dump shows the ping packet originating from the external address. On all my other boxes, when I ping localhost, the traffic originates from localhost. The reply to my ping behaves normally.

here is a dump of my pinging localhost: fw-ps:~/scripts# tcpdump -n -i lo listening on lo, link-type EN10MB (Ethernet), capture size 65535 bytes 10:00:01.885033 IP 194.246.23.22 > 127.0.0.1: ICMP echo request, id 6893, seq 12, length 64 10:00:01.885068 IP 127.0.0.1 > 127.0.0.1: ICMP echo reply, id 6893, seq 12, length 64

I considered trying to manually add some routes, but since the reply is working, I am not sure that is the problem. I also considered trying to change the default interface, but I don't want external traffic originating from the loopback.

View 4 Replies View Related

Networking :: Route All System Traffic To Localhost?

Mar 18, 2011

I just installed a fresh copy of debian (no GUI). I want all my traffic on bash (such as when I do ping or dig or wget, basically whatever) to be sent to localhost:8080. How can I do that? I've a ssh port forward setup that will forward all traffic arriving at my localhost:8080 to another server.

View 4 Replies View Related

CentOS 5 Networking :: Ping Localhost Not Working?

Mar 13, 2009

it was not working and ping is not reply me and I add ifconfig lo 127.0.0.1 it is working and getting ping but when reboot it is lost setting how can I set it for always ping working.

PING localhost (127.0.0.1) 56(84) bytes of data.
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted
ifconfig lo 127.0.0.1 later

[Code]....

now working but IWant reboot later working about same. how can I setting it boot start this .

View 7 Replies View Related

Ubuntu Networking :: Apache2 And Localhost - Network Manager Kept On Messing Around And Disconnecting

Mar 14, 2010

a while ago, Network manager kept on messing around and disconnecting me etc. I attempted to setup a static network (wired) and since then, everything worked fine. I also have apache running and have had no problems with that. I know there were some apache auto updates this week but I have been doing no dev work. I went to check out one of my local sites to do some work yesterday and there was just nothing happening.

I checked everything with apache, it is all running etc. I have stripped back the conf files to be clean and fresh and netstat is showing apache as listening on 127.0.0.1:80 as it should for a single default site that I have on there now. BUT if I try to ping localhost by name or by 127.0.0.1 I am getting "Destination Port Unreachable" Since I have been trying to fix this, I have been trawling the internet to try and clean up my network setup from scratch (I have also had problems with https sites that has turned up to be the MTU setting on my eth0 interface) but to be honest I am not sure exactly what should be set between ifconfig, route, netstat and apache. should I be able to ping localhost independantly of running apache2 (i.e if it is stopped) or would a successful ping rely on apache working correctly.

View 6 Replies View Related

CentOS 5 Networking :: DNS Requests Go To Localhost When Made By Apache / Php

Oct 7, 2009

I'm running wordpress and have gone to the painstaking effort of setting up the ftp server on my 5.3 machine so it can do its own updates and download plugins. However, I've found that if I try to download anything, I get a "unable to resolve host..." error from the script. If I watch Iptraf while making the request, I see all the port 53 requests going to 127.0.0.1. Pings are too.

However, if I ssh in, I can ping and wget and whatever I want all day long and all the DNS requests to go the router (Clarkconnect 3.2 gateway machine). The web browser in the terminal works fine too. What is it about the php scripts that is causing them to misdirect pings and dns requests? I've never seen anything like it and can't find anything on the web about it either.

[Code]....

View 2 Replies View Related

Ubuntu Networking :: Configure Postfix As Localhost Smtp Server And Send Email?

May 25, 2010

I'm trying to set up a basic smtp server on my local computer that I can send basic, unencrypted email through on port 25. I installed postfix, and I chose the following options:

Internet Site,
System Mail Name: localhost
Root and postmaster mail recipient: I left this blank
For other domains to accept mail, I entered : NONE, localhost
No force synchronous mail updates
Local networks: 127.0.0.0/8

[Code].....

View 2 Replies View Related

General :: /localhost Recursion/cache/iptables - Allow Localhost Recursion But Deny Recursion To External Clients?

Mar 8, 2011

I am a newbie in Linux. I have Fedora 13 OS 32 bits. I am working with PowerDNs and Poweradmin. How can I configure this with PowerDNS?

1. Allow localhost recursion but deny recursion to external clients. Is there a tutorial for that?

2. Set up cache nameserver for localhost (like caching-nameserver in Bind).
Is there a tutorial for that?

3. My Master Server with PowerDNS is working well from localhost but external clients cannot access it.

I have iptables with these rules:

[Code]....

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved