What adderss should the client connect the socket toHow do I install a CentOS 5.5 in Xenserver?Solaris...
Hacker Rank: Array left rotation
Why is working on the same position for more than 15 years not a red flag?
What's the rationale behind the objections to these measures against human trafficking?
CBP Reminds Travelers to Allow 72 Hours for ESTA. Why?
awk unexpectedly removes dot from string
Can the Grease spell force multiple saves?
Is my plan for fixing my water heater leak bad?
Contradiction with Banach Fixed Point Theorem
How can I mix up weapons for large groups of similar monsters/characters?
Charged enclosed by the sphere
Criticizing long fiction. How is it different from short?
Skis versus snow shoes - when to choose which for travelling the backcountry?
Why is this code uniquely decodable?
Is there a german word for "Analytics"?
How to mitigate "bandwagon attacking" from players?
Could quantum mechanics be necessary to analyze some biology scenarios?
How to add multiple differently colored borders around a node?
Do commercial flights continue with an engine out?
The change directory (cd) command is not working with a USB drive
Wanted: 5.25 floppy to usb adapter
How to get Region text from address id (Magento 2)
If I delete my router's history can my ISP still provide it to my parents?
Is divide-by-zero a security vulnerability?
Should the .gitignore include an entry for .vscode when using Git and VSCode
What adderss should the client connect the socket to
How do I install a CentOS 5.5 in Xenserver?Solaris Network troubleshootingPort foreword + openVPN + iptables?ipv6: `ifconfig` shows “Scope:Link” . What is “Scope:Link”?KVM/Libvirt bridged/routed networking not working on newer guest kernelssome nodes in a cluster has higher frame value in ifconfigRouting issue with multiple IP addresses on EC2 (VPC) hostVirtual interface gets static IP, actual interface doesn't?How to get OpenVPN Client (Mikrotik RouterOS) <-> OpenVPN server (Debian/Linux) setup to workHow to correctly set up routing on machine with 4 interfaces so that three of interfaces are on the same subnet?
I have a server in UNIX SunOs and a client in a Linux. They are connected to the same network and I have access to both.
When I execute the "client" program also in the UNIX machine I can connect them usign the local address: 127.0.0.1
. But when I execut the program from the Linux machine, I am not able to connect the client.
Here the ifconfig -a
command on the server machine:
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
aggr2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 10.195.5.53 netmask ffffff00 broadcast 10.195.5.255
igb2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 190.10.1.95 netmask ffff0000 broadcast 190.10.255.255
I have tried to connect the client giving the two addresses I saw there: 10.195.5.53
, 190.10.1.95
without success.
Any tip in what should check appart from the IP addresses or how could get more info about the server from the client's point of view is more than welcome.
After create the server socket I tried the command: netstat -a | egrep "7777"
. 7777 is the port I am using with the server.
Local Address Remote Address Swind Send-Q Rwind Recv-Q State
*.7777 *.* 0 0 49152 0 LISTEN
Does that * mean that it is listening to any IP with that port? If that is correct, then why is not the socket connecting.
linux solaris socket netstat
New contributor
add a comment |
I have a server in UNIX SunOs and a client in a Linux. They are connected to the same network and I have access to both.
When I execute the "client" program also in the UNIX machine I can connect them usign the local address: 127.0.0.1
. But when I execut the program from the Linux machine, I am not able to connect the client.
Here the ifconfig -a
command on the server machine:
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
aggr2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 10.195.5.53 netmask ffffff00 broadcast 10.195.5.255
igb2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 190.10.1.95 netmask ffff0000 broadcast 190.10.255.255
I have tried to connect the client giving the two addresses I saw there: 10.195.5.53
, 190.10.1.95
without success.
Any tip in what should check appart from the IP addresses or how could get more info about the server from the client's point of view is more than welcome.
After create the server socket I tried the command: netstat -a | egrep "7777"
. 7777 is the port I am using with the server.
Local Address Remote Address Swind Send-Q Rwind Recv-Q State
*.7777 *.* 0 0 49152 0 LISTEN
Does that * mean that it is listening to any IP with that port? If that is correct, then why is not the socket connecting.
linux solaris socket netstat
New contributor
add a comment |
I have a server in UNIX SunOs and a client in a Linux. They are connected to the same network and I have access to both.
When I execute the "client" program also in the UNIX machine I can connect them usign the local address: 127.0.0.1
. But when I execut the program from the Linux machine, I am not able to connect the client.
Here the ifconfig -a
command on the server machine:
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
aggr2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 10.195.5.53 netmask ffffff00 broadcast 10.195.5.255
igb2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 190.10.1.95 netmask ffff0000 broadcast 190.10.255.255
I have tried to connect the client giving the two addresses I saw there: 10.195.5.53
, 190.10.1.95
without success.
Any tip in what should check appart from the IP addresses or how could get more info about the server from the client's point of view is more than welcome.
After create the server socket I tried the command: netstat -a | egrep "7777"
. 7777 is the port I am using with the server.
Local Address Remote Address Swind Send-Q Rwind Recv-Q State
*.7777 *.* 0 0 49152 0 LISTEN
Does that * mean that it is listening to any IP with that port? If that is correct, then why is not the socket connecting.
linux solaris socket netstat
New contributor
I have a server in UNIX SunOs and a client in a Linux. They are connected to the same network and I have access to both.
When I execute the "client" program also in the UNIX machine I can connect them usign the local address: 127.0.0.1
. But when I execut the program from the Linux machine, I am not able to connect the client.
Here the ifconfig -a
command on the server machine:
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
aggr2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 10.195.5.53 netmask ffffff00 broadcast 10.195.5.255
igb2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 190.10.1.95 netmask ffff0000 broadcast 190.10.255.255
I have tried to connect the client giving the two addresses I saw there: 10.195.5.53
, 190.10.1.95
without success.
Any tip in what should check appart from the IP addresses or how could get more info about the server from the client's point of view is more than welcome.
After create the server socket I tried the command: netstat -a | egrep "7777"
. 7777 is the port I am using with the server.
Local Address Remote Address Swind Send-Q Rwind Recv-Q State
*.7777 *.* 0 0 49152 0 LISTEN
Does that * mean that it is listening to any IP with that port? If that is correct, then why is not the socket connecting.
linux solaris socket netstat
linux solaris socket netstat
New contributor
New contributor
New contributor
asked 6 hours ago
Pepe MorenoPepe Moreno
11
11
New contributor
New contributor
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "2"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Pepe Moreno is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f956599%2fwhat-adderss-should-the-client-connect-the-socket-to%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Pepe Moreno is a new contributor. Be nice, and check out our Code of Conduct.
Pepe Moreno is a new contributor. Be nice, and check out our Code of Conduct.
Pepe Moreno is a new contributor. Be nice, and check out our Code of Conduct.
Pepe Moreno is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f956599%2fwhat-adderss-should-the-client-connect-the-socket-to%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown