Server :: Exchanging Data Between Internet And Localhost

Jun 5, 2011

I have an Apache 2 server setup in Ubuntu 10.04 LTS on my lab computer. The server listens on port 80, by default. I also have another process listening on port 4000 - this is a special server that executes some Matlab and other application scripts. However, due to university policy (or some licensing/faculty regulation - not really sure), this port 4000 has been set as one that listens only to the localhost. Now, we need to allow a few of the scripts to be run by people remotely.

We tried to setup a web interface - they enter a few values into a HTML form and submit. This form has action="URl... (basically, we were hoping the external form turns data over to the internal form), thereby keeping everyone happy. However, it turns out that this didn't work - the server on port 4000 realizes that the request isn't internal.

What would be the best way of handling it? While we did consider port forwarding, we didn't want everything to be accessible from the internet - i.e. we wanted a tightly controlled interface when accessed from outside, but if someone writes a program on localhost, we want everything to go through as normal (i.e. the current setup). Is there a way to do this without duplication (i.e. setup a new port 5000, that has only the components we want the external users to access)?

View 2 Replies


ADVERTISEMENT

Server :: Use Domain Name And Static IP For Exchanging Emails?

Jan 24, 2011

1. I have registered Domain name/website, suppose = test.com, hosted on another ISP.

2. I have another Static IP, suppose = 1.2.3.4

3. Now I want to setup/configure mail server to send and receive Emails for "test.com", say a user from anywhere can use mail server by using webaddress of "mail.test.com"

4. Mail server will be mange locally in my own setup, accessible from everywhere.

5. Please give some examples, howto use registered domain name (for example = test.com) with static public ip (suppose= 1.2.3.4), so user can use only mail.test.com, not static ip address.

View 4 Replies View Related

Fedora Servers :: Localhost Httpd Server Doesnt Have Internet Connection

Jan 5, 2010

i have installed apache and php in my fedora 11 system and httpd works fine except that it doesnt have internet connection for example rapileech doesnt work it says "cannot connect via port 80" and if i put an rss feed collector in a website it doesnt work but everything else works fine , also when i put the same file in a shared web host it works fine

View 3 Replies View Related

Server :: Localhost Has Stopped Working / With Or Without Internet Connection Via An Ethernet Cable?

Apr 2, 2010

I have been using my laptop as a development machine for a few months now, developing php/mysql applications, and testing them offline via the same laptop by pointing the browser to url.

But a few days ago, my url stopped working and I discovered that it will now only work if I have an active internet connection plugged in. Why has this happened and how to I fix my test server so localhost works with or without an internet connection via an ethernet cable.

View 2 Replies View Related

Security :: Secure Solution To Transfer Data Using Rsync Over Internet Between 2 System Server?

Jan 2, 2010

I'm looking for a most possible, secure solution to transfer data using rsync over Internet between 2 linux server.
I have 3 option: SSH, IPSEC and Kerberos.
Which one in your opinion should be most secure solution?

View 3 Replies View Related

Ubuntu :: Apache2 Localhost Not Available When No Internet Connection

Jun 12, 2010

I am running the version 10.4. As I am learning mySQL and PHP, I installed Apache2, mySQL and PHP, as discribed in this link. The problem is I have to have any sort of Network, either LAN, WiFi or Mobile Broadband to access my localhost. When I am connected to internet, my local host works fine, without any problem, but as soon as I get disconnected from internet, localhost is not available. I have googled a lot, but could not find a solution.

View 5 Replies View Related

Ubuntu :: Localhost Not Working With No Internet Access?

Aug 18, 2010

I recently installed Ubuntu (normal version) on to my netbook (Samsung N140) and I'm sharing my wireless connection over ethernet to my desktop using the method outlined in the Ubuntu wiki on ICS.

However, I do Ruby on Rails development, so run a local server on the netbook. I found out yesterday while working remotely that I cannot access 'localhost:3000' while I have no internet connection, and I get an error about 'sendmsg: operation not permitted' if I try to ping localhost. Likewise, I cannot access 127.0.0.1 the same way.

View 3 Replies View Related

Ubuntu Servers :: Apache2: Localhost Responds Only When Connected To Internet?

May 12, 2010

I am on Ubuntu 10.04 LTS. Installed LAMP yesterday using:

Code:
sudo tasksel install lamp-server
Tested Apache, PHP, MySQL then, all worked fine.

[code]....

View 1 Replies View Related

Ubuntu Servers :: Apache From Localhost Can't Reach Internet / Resolve This?

Jul 11, 2011

I've installed apache2 on ubuntu 10.04 and everything works fine, but when I use functions that needs to connect to Internet, it doesn't work. Is there a simple setup I've forgot? I've been searching and looking for a solution, but I'm stuck!

View 9 Replies View Related

Software :: Sendmail / Exim Mail Exchanging Error

Jul 18, 2011

I recently built a mail server with Slackware/Sendmail and basically all works. Mail comes in and goes out. The problem I have is 3 email addresses cannot be sent to from this server. The remote ends are 3 different servers but all run Exim 4.69. I have logged the server exchange and this is what I get: (names have been changed to protect the innocent!!)

[Code].....

View 2 Replies View Related

CentOS 5 Hardware :: Black Screen After Exchanging With Xbox 360?

May 6, 2009

My monitor previously connected to a Linux Centos5, no problem, X works very well. Then I connected it with a Xbox 360 and changed the screen resolution, no problem, it woked very well too.BUT, when I changed it back to Linux.I can't login on the graphic screen.What i can do is login under text interface as NON-root user accout.How can I login the X? and How can I switch linux and xbox freely later?

View 1 Replies View Related

Fedora Installation :: Exchanging Hard Drive Between Computers - No Icons On Desktop And No Panels

Nov 4, 2009

I recently upgraded my computer and tried using same hard-drive in new one. Fedora 11 booted and allowed me to log-in. But system is un-usable as there are no Icons on desktop and no panels. While I know that initial installation is based on hardware profile of previous computer, is there any work-around to make it work without having to install fresh. Also, If I choose option "replace previous Linus version" from LiveCD, will that preserve my personal data and settings?

View 2 Replies View Related

Server :: Setting Up Local Server Using Localhost?

Mar 18, 2010

I have a need to set up the program TNG - The Next Generation of Genealogy Sitebuilding and run it on a local server (not on the Internet) for the purpose of learning the system prior to developing it on an actual website. I was told to use http://localhost on my browser (Mozilla Firefox). I get a message saying "That Works!", but it goes on to say that the contents of the web server have not yet been entered. The instructions for the downloaded files (which I unzipped) said to copy to the web root folder (the folder where the web server is located ?, I guess). But I don't know where it is or how to go about it. Can someone help? I already have MySQL and PHP, which are required to run this program, and I also have Apache installed on my Kubuntu 9.10 system.

View 1 Replies View Related

Server :: How To Set The Localhost And Localdomain

Mar 17, 2011

I cannot seem to figure out where my system is pulling its localhost.localdomain setting from. OS is;

Quote:

[root@system root]# cat /etc/issue.net
Red Hat Enterprise Linux ES release 3 (Taroon Update 3)
Kernel on an m Network file is;

Quote:

[root@system root]# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=localhost.localdomain

Quote:

[root@system root]# hostname
system
[root@system root]# hostname -d
[root@system root]# hostname -f
system
[root@system root]#

how to set the localhost and localdomain?

For the time being, the localhost is somehow being set correctly, but the localdomain is incorrect.

View 1 Replies View Related

Ubuntu :: Firefox Can't / Server At Localhost

Jan 4, 2010

I have two machines running Ubuntu 9.1, both with Firefox 3.5 fitted, working well, apart from an error on one machine.When trying to download a Torrent I get the error "Firefox can't establish a connection at the server at localhost: 12322".The other machine is fine without this error.I have searched the Firefox files and this forum, plus a variety of sources but cannot find an answer, apart from "use the other machine".

View 4 Replies View Related

Server :: Cant Connect To MYSQL On Localhost

May 28, 2011

Running MYSQL 5.5.12 and MYSQL Workbench 1:5.2.34 on up-to-date Arch linux Set up MYSQL with root account and password. When running Workbench as user, got error when trying to connect :

Quote:

Cannot Connect to Database Server Your connection attempt failed for user 'root' from your host to server at 127.0.0.1:3306: Can't connect to MySQL server on '127.0.0.1' (111)

1 Check that mysql is running on server 127.0.0.1

2 Check that mysql is running on port 3306 (note: 3306 is the default, but this can be changed)

3 Check the root has rights to connect to 127.0.0.1 from your address (mysql rights define what clients can connect to the server and from which machines)

4 Make sure you are both providing a password if needed and using the correct password for 127.0.0.1 connecting from the host address you're connecting from

After commenting #skip-networking in my.cnf error changed to :

Quote:

Cannot Connect to Database Server Your connection attempt failed for user 'root' from your host to server at 127.0.0.1:3306: Lost connection to MySQL server at 'reading initial communication packet', system error: 0

1 Check that mysql is running on server 127.0.0.1

2 Check that mysql is running on port 3306 (note: 3306 is the default, but this can be changed)

3 Check the root has rights to connect to 127.0.0.1 from your address (mysql rights define what clients can connect to the server and from which machines)

4 Make sure you are both providing a password if needed and using the correct password for 127.0.0.1 connecting from the host address you're connecting from

Copying my.cnf to /etc/ and running Workbench as root didn't change anything, i still get the second error The wiki [URl] says to enable MYSQL in /etc/hosts.allow but i didn't do it, i guess it is required only when trying to access MYSQL from remote hosts which i dont.

View 2 Replies View Related

Server :: Allow Access To Mysqld From Localhost?

Sep 21, 2010

I need to test an application on a Ubuntu Server that works as a database server for the network.

On this server's /etc/mysql/my.cnf, I have:

Code:
# Instead of skip-networking the default is now to listen only on
# localhost which is more compatible and is not less secure.
bind-address = <server-ip-address>

This means that I can't access the mysql server from 127.0.0.1, right?

I tried adding the following entry to /etc/hosts.allow :

Code:
mysqld : 127.0.0.1 : allow

I feel like I need to restart the service that reads /etc/hosts.allow, is this approach correct?

Or on /etc/mysql/my.cnf I can have two (or more) bind-addresses entries?

View 5 Replies View Related

Server :: Why Localhost Adding In The Domain Name

May 27, 2011

we have installed the Centos on my server and configured the postfix with our domain [URL] as example. If I send any email through squirrel email, Emails are going from [URL] instead of [URL].

View 8 Replies View Related

Fedora :: VNC Server Warning: Localhost:1 Is Taken Because Of /tmp/.X1-lock

Mar 31, 2009

I've always used SSH to get to my Linux server and decided to figure out VNC. I've got VNC installed just fine and was logged, then I click Exit on the VNC screen and all hell broke loose. So I'm left with a gray useless screen, so I though I would kill the process. Did a ps -aux | grep vnc and saw what is running Then did a vncserver -kill :1 and vncserver -kill :2 Then typed vncserver

Now I'm getting Warning: blahblahblah:1 is taken because of /tmp/.X1-lock Remove this file if there is no X server blahblahblah:1 Warning: blahblahblah:2 is taken because of /tmp/.X2-lock Remove this file if there is no X server blahblahblah:2 So per the man pages I need to go here $HOME/.vnc and kill something. So How do I get to $HOME/.vnc? Is this a hidden location? I'm thinking I need to do a kill -9 .X1-lock per the above Warning message but where is that?

View 4 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

General :: Can't Connect To X11 Window Server Using 'localhost:0.0'?

Jan 24, 2010

I have an intel i7 with windows7 64b , then install VMware Workstation and create a machine with Oracle enterprise Linux 64b 5update4, now i want to inatall oracle db10gR2, but this message apears. [oracle@localhost database]$ Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using 'localhost:0.0' as the value of the DISPLAY variable.

at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.<clinit>(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)

[Code]...

View 8 Replies View Related

Server :: Apache Serves On Localhost But Not With Network

Nov 28, 2010

I have Apache2 running on my server and can serve up pages on that box, but cannot seem to access them from other PCs on the network.

View 1 Replies View Related

Server :: Bind9 Log Full Of Localhost Queries?

Feb 24, 2011

I have my bind9 DNS server running on Ubuntu with logging on. What's bothering me is that I have log full of localhost queries instead of from IP of the computer which actually asked.DNS queries log:/var/log/named.queries.log

Code:
24-Feb-2011 16:01:19.413 client 127.0.0.1#38022: query: clients4.google.com IN A + (127.0.0.1)

[code]....

View 6 Replies View Related

Server :: Error - 550 Localhost.localdomain Does Not Exist

Jan 22, 2010

We've had this server running before but two hours ago there are some domains outside which we cannot send email to. this is a sample of the message we get

Quote:

The original message was received at Fri, 22 Jan 2010 14:31:59 +0800 from [10.0.200.10]

----- The following addresses had permanent fatal errors -----

<beth@nippon-antennaphil.com> (reason: 550 localhost.localdomain does not exist)

----- Transcript of session follows -----

... while talking to nippon-antennaphil.com.:

>>> DATA
<<< 550 localhost.localdomain does not exist
550 5.1.1 <beth@nippon-antennaphil.com>... User unknown
451 4.4.1 reply: read error from nippon-antennaphil.com.

Our server's been running smoothly before but i dunno what happened. I can send mails to gmail and yahoo as well... but there are like 3 domains which we cannot send mails to.

View 8 Replies View Related

Server :: Unable To Connect Localhost In Mysql

Apr 21, 2011

iam not able to connect localhost in mysql.i uswd command for mysql is

#mysqladmin -u root -h localhost password "123456"

ErroR:-

mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'

View 1 Replies View Related

Server :: Ssl_error_handshake_failure_alert On Https Site - Localhost

Sep 5, 2010

I am trying to configure local https server but I get this message: "ssl_error_handshake_failure_alert"

I configured my apache and make cert and key files from this article, following section 1B: [url]

I try to add server.crt and ca.crt files in firefox, but it didn't help. I googled and didn't find any information. I try also with 1024bit key.

View 6 Replies View Related

Server :: Why The Php Mysql_connect() Only Can Connect Localhost MySQL

Apr 17, 2011

I used 4 host to establish a high-availability web server system. 2 Load Balancer + 2 Web Server(installed MySQL Server 5.5). 2 MySQL Server used Multi-Master Replication.Used "Amoeba" as MySQL Proxy which direct the write statement to a specific MySQL Server.I can login Amoeba and MySQL Server using MySQL client. I tried query something in XAMMP on Windows XP. It work!

Installed related software:

MySQL-server-5.5.11-1.rhel5
MySQL-shared-compat-5.5.11-1.rhel5
php53-mysql-5.3.3-1.el5_6.1
MySQL-client-5.5.11-1.rhel5

[code]....

What I tried:

yum install php php-mysql
yum install php53 php53-mysql

Compiled php 5.3.6 soruce + MySQL 5.5 Server, Client, Shared, Shared-Compact Above software installed on different host. And the phpinfo showing MySQL I doubt something wrong in my php.ini. Used default php configuration.

View 5 Replies View Related

CentOS 5 Server :: Php Can't Connect Mysql By 'localhost'?

Sep 25, 2009

php can't connect mysql by 'localhost' but can connect by IP address:

[Code]...

View 3 Replies View Related

CentOS 5 Server :: DNS Does Not Resolve Names Except To Localhost

Feb 9, 2010

We installed CentOS 5 at our school and are attempting to get 2 simple DNS servers online. These are simple name resolution servers for our network. We installed the needed caching nameserver packages via Yum and all seems to be well, but for some reason when the server is online, it fails to resolve DNS records except when we direct the requests to its 127.0.0.1 (localhost) interface. As for the server specs, the DNS server is running on a Virtual Machine, and the ESXi server has 2 quad-core Xeon CPU's with 48 Gigs of RAM (in short.. hardware is adequate.)

Here's more details:
When the box boots up, we can confirm that the named service is running and it resolves DNS records when we direct queries to its localhost address:
[root@ns1 ~]# dig hotbot.com @localhost
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>> hotbot.com @localhost
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 55510
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 0 .....
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>> hotbot.com @66.186.176.2
;; global options: printcmd
;; connection timed out; no servers could be reached

What would cause the Named service to not answer DNS queries from the physical IP but only from it's internal IP?

View 1 Replies View Related

CentOS 5 :: Simple Custom Localhost YUM Server Using FTP?

Mar 10, 2010

the custom-yum.sh script (or, whatever you say ) below:

#!/bin/bash
## Mounting CD/DVD ##
echo "Mounting CD/DVD in /media"
mount /dev/hdc /media

[Code].....

View 13 Replies View Related







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